v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <free-buffer-extension.h>
Public Member Functions | |
FreeBufferExtension () | |
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 | FreeBuffer (const v8::FunctionCallbackInfo< v8::Value > &args) |
Definition at line 36 of file free-buffer-extension.h.
|
inline |
Definition at line 38 of file free-buffer-extension.h.
|
static |
Definition at line 43 of file free-buffer-extension.cc.
References V8::ArrayBufferAllocator(), ArrayBuffer::Externalize(), and ArrayBuffer::Allocator::Free().
Referenced by FreeBufferExtension::GetNativeFunctionTemplate().
|
virtual |
Reimplemented from Extension.
Definition at line 36 of file free-buffer-extension.cc.
References FreeBufferExtension::FreeBuffer(), and FunctionTemplate::New().