v8  8.6.395 (node 15.0.1)
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
void SetSecondPassCallback (Callback callback) const

Detailed Description

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

Definition at line 430 of file v8.h.

Member Typedef Documentation

◆ Callback

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

Definition at line 432 of file v8.h.

Constructor & Destructor Documentation

◆ WeakCallbackInfo()

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

Definition at line 434 of file v8.h.

Member Function Documentation

◆ GetInternalField()

void * GetInternalField ( int  index) const

Definition at line 10799 of file v8.h.

◆ GetIsolate()

V8_INLINE Isolate* GetIsolate ( ) const

Definition at line 443 of file v8.h.

◆ GetParameter()

V8_INLINE T* GetParameter ( ) const

Definition at line 444 of file v8.h.

◆ SetSecondPassCallback()

void SetSecondPassCallback ( Callback  callback) const

Definition at line 453 of file v8.h.

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