Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 4ad40423b13ccb21ecfb03540682c6c5cd94d838..c3c6d029348a6784e197873b958520dfaf5b074a 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -5493,6 +5493,14 @@ void Context::DetachGlobal() { |
} |
+Local<v8::Object> Context::GetExtrasExportsObject() { |
+ i::Handle<i::Context> context = Utils::OpenHandle(this); |
+ i::Isolate* isolate = context->GetIsolate(); |
+ i::Handle<i::JSObject> exports(context->extras_exports_object(), isolate); |
+ return Utils::ToLocal(exports); |
+} |
+ |
+ |
void Context::AllowCodeGenerationFromStrings(bool allow) { |
i::Handle<i::Context> context = Utils::OpenHandle(this); |
i::Isolate* isolate = context->GetIsolate(); |