Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index bc2f5e7630c8c8722807bcd04358ca9a4b7c2d97..d001bb6a5c7d0d85d79711c38694ec4961dfa972 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -3796,6 +3796,9 @@ class V8EXPORT Context { |
/** Returns true if V8 has a current context. */ |
static bool InContext(); |
+ /** Returns an isolate associated with a current context. */ |
+ v8::Isolate* GetIsolate(); |
+ |
/** |
* Gets the embedder data with the given index, which must have been set by a |
* previous call to SetEmbedderData with the same index. Note that index 0 |