diff options
Diffstat (limited to 'o3d/plugin/cross/np_v8_bridge.h')
-rw-r--r-- | o3d/plugin/cross/np_v8_bridge.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/o3d/plugin/cross/np_v8_bridge.h b/o3d/plugin/cross/np_v8_bridge.h index a43d1d6..1227b5d 100644 --- a/o3d/plugin/cross/np_v8_bridge.h +++ b/o3d/plugin/cross/np_v8_bridge.h @@ -265,6 +265,8 @@ class NPV8Bridge { void SetGlobalProperty(const String& name, NPObjectPtr<NPObject>& np_object); + private: + // Converts a V8 value into an NPVariant. The NPVariant must be freed with // NPN_ReleaseVariantValue. Caller must enter the script context. NPVariant V8ToNPVariant(v8::Local<v8::Value> value); @@ -286,8 +288,6 @@ class NPV8Bridge { // a proxy. bool IsNPObjectReferenced(NPObjectPtr<NPObject> np_object); - private: - NPObjectPtr<NPObject> NPEvaluateObject(const char* script); void NPToV8Object(v8::Local<v8::Object> v8_target, |