v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
Public Member Functions | Public Attributes | List of all members
v8toolkit::SetWeakCallbackData Struct Reference

#include <v8toolkit.h>

Collaboration diagram for v8toolkit::SetWeakCallbackData:
Collaboration graph
[legend]

Public Member Functions

 SetWeakCallbackData (func::function< void(v8::WeakCallbackInfo< SetWeakCallbackData > const &)> callback, v8::Isolate *isolate, const v8::Local< v8::Object > &javascript_object, bool destructive)
 

Public Attributes

func::function< void(v8::WeakCallbackInfo< SetWeakCallbackData > const &)> callback
 
v8::Global< v8::Object > global
 
bool destructive
 

Detailed Description

Definition at line 41 of file v8toolkit.h.

Constructor & Destructor Documentation

v8toolkit::SetWeakCallbackData::SetWeakCallbackData ( func::function< void(v8::WeakCallbackInfo< SetWeakCallbackData > const &)>  callback,
v8::Isolate *  isolate,
const v8::Local< v8::Object > &  javascript_object,
bool  destructive 
)

Definition at line 852 of file v8toolkit.cpp.

References global.

Referenced by v8toolkit::global_set_weak().

Here is the caller graph for this function:

Member Data Documentation

func::function<void(v8::WeakCallbackInfo<SetWeakCallbackData> const &)> v8toolkit::SetWeakCallbackData::callback
v8::Global<v8::Object> v8toolkit::SetWeakCallbackData::global

Definition at line 48 of file v8toolkit.h.

Referenced by v8toolkit::global_set_weak(), and SetWeakCallbackData().

bool v8toolkit::SetWeakCallbackData::destructive

Definition at line 49 of file v8toolkit.h.

Referenced by v8toolkit::expose_variable_readonly().


The documentation for this struct was generated from the following files: