v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GCExtension Class Reference

#include <gc-extension.h>

Inheritance diagram for GCExtension:
Collaboration diagram for GCExtension:

Public Member Functions

 GCExtension (const char *fun_name)
 
virtual v8::Handle
< v8::FunctionTemplate
GetNativeFunctionTemplate (v8::Isolate *isolate, v8::Handle< v8::String > name)
 
- Public Member Functions inherited from Extension
 Extension (const char *name, const char *source=0, int dep_count=0, const char **deps=0, int source_length=-1)
 
virtual ~Extension ()
 
const char * name () const
 
size_t source_length () const
 
const
String::ExternalAsciiStringResource
source () const
 
int dependency_count ()
 
const char ** dependencies ()
 
void set_auto_enable (bool value)
 
bool auto_enable ()
 

Static Public Member Functions

static void GC (const v8::FunctionCallbackInfo< v8::Value > &args)
 

Detailed Description

Definition at line 36 of file gc-extension.h.

Constructor & Destructor Documentation

GCExtension ( const char *  fun_name)
inlineexplicit

Definition at line 38 of file gc-extension.h.

Member Function Documentation

v8::Handle< v8::FunctionTemplate > GetNativeFunctionTemplate ( v8::Isolate isolate,
v8::Handle< v8::String name 
)
virtual

Reimplemented from Extension.

Definition at line 35 of file gc-extension.cc.

References GCExtension::GC(), and FunctionTemplate::New().


The documentation for this class was generated from the following files: