V8 API Reference Guide for node.js v9.8.0
Public Types | Public Member Functions | List of all members
v8::WeakCallbackInfo< T > Class Template Reference

Public Types

typedef void(* Callback) (const WeakCallbackInfo< T > &data)
 

Public Member Functions

 WeakCallbackInfo (Isolate *isolate, T *parameter, void *embedder_fields[kEmbedderFieldsInWeakCallback], Callback *callback)
 
V8_INLINE IsolateGetIsolate () const
 
V8_INLINE T * GetParameter () const
 
V8_INLINE void * GetInternalField (int index) const
 
V8_INLINE V8_DEPRECATED ("use indexed version", void *GetInternalField1() const)
 
V8_INLINE V8_DEPRECATED ("use indexed version", void *GetInternalField2() const)
 
 V8_DEPRECATED ("Not realiable once SetSecondPassCallback() was used.", bool IsFirstPass() const)
 
void SetSecondPassCallback (Callback callback) const
 

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