V8  latest master commit
V8 is Google's open source JavaScript engine
v8::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
 
void SetSecondPassCallback (Callback callback) const
 

Detailed Description

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

Definition at line 426 of file v8.h.

Member Typedef Documentation

◆ Callback

template<typename T >
typedef void(* v8::WeakCallbackInfo< T >::Callback) (const WeakCallbackInfo< T > &data)

Definition at line 428 of file v8.h.

Constructor & Destructor Documentation

◆ WeakCallbackInfo()

template<typename T >
v8::WeakCallbackInfo< T >::WeakCallbackInfo ( Isolate isolate,
T *  parameter,
void *  embedder_fields[kEmbedderFieldsInWeakCallback],
Callback callback 
)
inline

Definition at line 430 of file v8.h.

Member Function Documentation

◆ GetInternalField()

template<class T >
void * v8::WeakCallbackInfo< T >::GetInternalField ( int  index) const

Definition at line 10732 of file v8.h.

◆ GetIsolate()

template<typename T >
V8_INLINE Isolate* v8::WeakCallbackInfo< T >::GetIsolate ( ) const
inline

Definition at line 439 of file v8.h.

◆ GetParameter()

template<typename T >
V8_INLINE T* v8::WeakCallbackInfo< T >::GetParameter ( ) const
inline

Definition at line 440 of file v8.h.

◆ SetSecondPassCallback()

template<typename T >
void v8::WeakCallbackInfo< T >::SetSecondPassCallback ( Callback  callback) const
inline

Definition at line 449 of file v8.h.


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