Index: src/api.h |
diff --git a/src/api.h b/src/api.h |
index 5f19380e65b5011b9f6f8eb67ea7ada51a3ac725..aa3c38c406e2647675c476f0fa37f3e561ca7e7d 100644 |
--- a/src/api.h |
+++ b/src/api.h |
@@ -56,7 +56,7 @@ class Consts { |
// env-independent JSObjects used by the api. |
class NeanderObject { |
public: |
- explicit NeanderObject(int size); |
+ explicit NeanderObject(v8::internal::Isolate* isolate, int size); |
explicit inline NeanderObject(v8::internal::Handle<v8::internal::Object> obj); |
explicit inline NeanderObject(v8::internal::Object* obj); |
inline v8::internal::Object* get(int index); |
@@ -72,7 +72,7 @@ class NeanderObject { |
// array abstraction built on neander-objects. |
class NeanderArray { |
public: |
- NeanderArray(); |
+ explicit NeanderArray(v8::internal::Isolate* isolate); |
explicit inline NeanderArray(v8::internal::Handle<v8::internal::Object> obj); |
inline v8::internal::Handle<v8::internal::JSObject> value() { |
return obj_.value(); |