v8toolkit
0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
|
#include <v8_class_wrapper.h>
Public Member Functions | |
void | add_callback (v8::Isolate *isolate, func::function< void()> callback) |
void | cleanup_isolate (v8::Isolate *isolate) |
Stores a list of callbacks to clean up V8ClassWrapper objects when the associated isolate is destroyed. An isolate created after a previous isolate is destroyed may have the same address but a new wrapper must be created.
Definition at line 252 of file v8_class_wrapper.h.
|
inline |
Definition at line 257 of file v8_class_wrapper.h.
|
inline |
Definition at line 260 of file v8_class_wrapper.h.
References v8toolkit::wrapper_registery.
Referenced by v8toolkit::Isolate::~Isolate().