Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 30e0881ccec7ceadc179120682714ef1892085d3..6369a9f8cd955597e48b5a100766c031c9b1ac29 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -4870,6 +4870,17 @@ void Isolate::Exit() { |
} |
+void Isolate::SetData(void* data) { |
+ i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |
+ isolate->SetData(data); |
+} |
+ |
+void* Isolate::GetData() { |
+ i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |
+ return isolate->GetData(); |
+} |
+ |
+ |
String::Utf8Value::Utf8Value(v8::Handle<v8::Value> obj) |
: str_(NULL), length_(0) { |
i::Isolate* isolate = i::Isolate::Current(); |