v8  3.11.10(node0.8.26)
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 ()
 
virtual v8::Handle
< v8::FunctionTemplate
GetNativeFunction (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 v8::Handle< v8::ValueGC (const v8::Arguments &args)
 
static void Register ()
 

Detailed Description

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

Constructor & Destructor Documentation

GCExtension ( )
inline

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

Member Function Documentation

v8::Handle< v8::Value > GC ( const v8::Arguments args)
static

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

References HEAP, Heap::kNoGCFlags, and v8::Undefined().

Referenced by GCExtension::GetNativeFunction().

v8::Handle< v8::FunctionTemplate > GetNativeFunction ( v8::Handle< v8::String name)
virtual

Reimplemented from Extension.

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

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

void Register ( )
static

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

Referenced by Bootstrapper::Initialize().


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