mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
src: pass Isolate to all applicable api
Update the api to pass node_isolate to all supported methods.
Much thanks to Ben Noordhuis and his work in 51f6e6a.
This commit is contained in:
committed by
Ben Noordhuis
parent
da4d79ac47
commit
f65e14ed1d
@@ -37,7 +37,7 @@ Handle<String> MainSource() {
|
||||
}
|
||||
|
||||
void DefineJavaScript(v8::Handle<v8::Object> target) {
|
||||
HandleScope scope;
|
||||
HandleScope scope(node_isolate);
|
||||
|
||||
for (int i = 0; natives[i].name; i++) {
|
||||
if (natives[i].source != node_native) {
|
||||
|
||||
Reference in New Issue
Block a user