v8  6.2.414 (node 8.16.2)
V8 is Google's open source JavaScript engine
WeakCallbackInfo< T > Class Template Reference

#include <v8.h>

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
 

Detailed Description

template<typename T>
class v8::WeakCallbackInfo< T >

Definition at line 414 of file v8.h.

Member Typedef Documentation

◆ Callback

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

Definition at line 416 of file v8.h.

Constructor & Destructor Documentation

◆ WeakCallbackInfo()

WeakCallbackInfo ( Isolate isolate,
T *  parameter,
void *  embedder_fields[kEmbedderFieldsInWeakCallback],
Callback callback 
)
inline

Definition at line 418 of file v8.h.

Member Function Documentation

◆ GetInternalField()

void * GetInternalField ( int  index) const

Definition at line 9176 of file v8.h.

◆ GetIsolate()

V8_INLINE Isolate* GetIsolate ( ) const
inline

Definition at line 427 of file v8.h.

◆ GetParameter()

V8_INLINE T* GetParameter ( ) const
inline

Definition at line 428 of file v8.h.

◆ SetSecondPassCallback()

void SetSecondPassCallback ( Callback  callback) const
inline

Definition at line 451 of file v8.h.

◆ V8_DEPRECATED() [1/3]

V8_DEPRECATED ( "Not realiable once SetSecondPassCallback() was used."  ,
bool IsFirstPass() const   
)
inline

Definition at line 440 of file v8.h.

◆ V8_DEPRECATED() [2/3]

V8_INLINE V8_DEPRECATED ( "use indexed version"  ,
void *GetInternalField1() const   
)
inline

Definition at line 431 of file v8.h.

◆ V8_DEPRECATED() [3/3]

V8_INLINE V8_DEPRECATED ( "use indexed version"  ,
void *GetInternalField2() const   
)
inline

Definition at line 435 of file v8.h.


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