Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 77ffb385ab97f34381177e4a39e2f01aec62fa94..f8883fc1de96e9839d3ed353597e417a2b69d6c3 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -1551,6 +1551,12 @@ class Object : public Value { |
V8EXPORT Local<String> ObjectProtoToString(); |
/** |
+ * Returns the function invoked as a constructor for this object. |
+ * May be the null value. |
+ */ |
+ V8EXPORT Local<Value> GetConstructor(); |
+ |
+ /** |
* Returns the name of the function invoked as a constructor for this object. |
*/ |
V8EXPORT Local<String> GetConstructorName(); |