diff options
Diffstat (limited to 'gin/per_isolate_data.h')
-rw-r--r-- | gin/per_isolate_data.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gin/per_isolate_data.h b/gin/per_isolate_data.h index 4801125..11bbc03 100644 --- a/gin/per_isolate_data.h +++ b/gin/per_isolate_data.h @@ -37,6 +37,8 @@ class PerIsolateData { v8::Local<v8::ObjectTemplate> GetObjectTemplate(WrapperInfo* info); v8::Local<v8::FunctionTemplate> GetFunctionTemplate(WrapperInfo* info); + v8::Isolate* isolate() { return isolate_; } + private: typedef std::map< WrapperInfo*, v8::Eternal<v8::ObjectTemplate> > ObjectTemplateMap; |