Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index c3bccdc2413769e90b7542c7e63d896a7f9ae0e0..78628690e411420697fb5c542163a93d2e9a936d 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -2144,6 +2144,13 @@ class V8EXPORT FunctionTemplate : public Template { |
void SetHiddenPrototype(bool value); |
/** |
+ * Sets the property attributes of the 'prototype' property of functions |
+ * created from this FunctionTemplate. Can be any combination of ReadOnly, |
+ * DontEnum and DontDelete. |
+ */ |
+ void SetPrototypeAttributes(int attributes); |
+ |
+ /** |
* Returns true if the given object is an instance of this function |
* template. |
*/ |