Make isolate() public
This commit is contained in:
parent
0586822808
commit
cad1fa50a9
1 changed files with 3 additions and 3 deletions
|
@ -54,6 +54,9 @@ class Wrappable {
|
|||
// object constructed by GetObjectTemplateBuilder.
|
||||
v8::Local<v8::Object> GetWrapper(v8::Isolate* isolate);
|
||||
|
||||
// Returns the Isolate this object is created in.
|
||||
v8::Isolate* isolate() const { return isolate_; }
|
||||
|
||||
// Bind the C++ class to the JS wrapper.
|
||||
void Wrap(v8::Isolate* isolate, v8::Local<v8::Object> wrapper);
|
||||
|
||||
|
@ -66,9 +69,6 @@ class Wrappable {
|
|||
Wrappable();
|
||||
virtual ~Wrappable();
|
||||
|
||||
// Returns the Isolate this object is created in.
|
||||
v8::Isolate* isolate() const { return isolate_; }
|
||||
|
||||
virtual ObjectTemplateBuilder GetObjectTemplateBuilder(v8::Isolate* isolate);
|
||||
|
||||
// Called after the "_init" method gets called in JavaScript.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue