Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 411c2f1169dd0051159e338e4634860a536afd72..fce50fc73ba0beeafd3ed08ae4d613aac23c96ce 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -2670,6 +2670,17 @@ class V8EXPORT Isolate { |
*/ |
void Dispose(); |
+ /** |
+ * Associate embedder-specific data with the isolate |
+ */ |
+ void SetData(void* data); |
+ |
+ /** |
+ * Retrive embedder-specific data from the isolate. |
+ * Returns NULL if SetData has never been called. |
+ */ |
+ void* GetData(); |
+ |
private: |
Isolate(); |