#include <nan.h>
Public Types | |
typedef void(* | Callback )(const WeakCallbackInfo< T > &data) |
Public Member Functions | |
void * | GetInternalField (int index) const |
v8::Isolate * | GetIsolate () const |
T * | GetParameter () const |
WeakCallbackInfo (Persistent< v8::Value > *persistent, Callback callback, void *parameter, void *field1=0, void *field2=0) | |
Static Private Member Functions | |
static void | invoke (NAN_WEAK_CALLBACK_SIG_ data) |
static WeakCallbackInfo * | unwrap (NAN_WEAK_CALLBACK_DATA_TYPE_ data) |
Private Attributes | |
Callback | callback_ |
void * | internal_fields_ [kInternalFieldsInWeakCallback] |
v8::Isolate * | isolate_ |
void * | parameter_ |
v8::Persistent< v8::Value > | persistent_ |
Friends | |
class | Persistent |
class | PersistentBase |
typedef void(* Nan::WeakCallbackInfo< T >::Callback)(const WeakCallbackInfo< T > &data) |
Nan::WeakCallbackInfo< T >::WeakCallbackInfo | ( | Persistent< v8::Value > * | persistent, |
Callback | callback, | ||
void * | parameter, | ||
void * | field1 = 0 , |
||
void * | field2 = 0 |
||
) | [inline] |
void* Nan::WeakCallbackInfo< T >::GetInternalField | ( | int | index | ) | const [inline] |
v8::Isolate* Nan::WeakCallbackInfo< T >::GetIsolate | ( | ) | const [inline] |
T* Nan::WeakCallbackInfo< T >::GetParameter | ( | ) | const [inline] |
void WeakCallbackInfo< T >::invoke | ( | NAN_WEAK_CALLBACK_SIG_ | data | ) | [static, private] |
WeakCallbackInfo< T > * WeakCallbackInfo< T >::unwrap | ( | NAN_WEAK_CALLBACK_DATA_TYPE_ | data | ) | [static, private] |
friend class Persistent [friend] |
friend class PersistentBase [friend] |
Callback Nan::WeakCallbackInfo< T >::callback_ [private] |
void* Nan::WeakCallbackInfo< T >::internal_fields_[kInternalFieldsInWeakCallback] [private] |
v8::Isolate* Nan::WeakCallbackInfo< T >::isolate_ [private] |
void* Nan::WeakCallbackInfo< T >::parameter_ [private] |
v8::Persistent<v8::Value> Nan::WeakCallbackInfo< T >::persistent_ [private] |