Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 54c6dcd92c9739da6c01da01e4f278a6faa6de45..e19daee1545bc566de8e0d26342e4be77afe29ff 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -4027,6 +4027,13 @@ class V8_EXPORT Template : public Data { |
PropertyAttribute attribute = None, |
AccessControl settings = DEFAULT); |
+#ifdef V8_JS_ACCESSORS |
+ void SetAccessorProperty(Local<Name> name, |
+ Local<Function> getter = Local<Function>(), |
+ Local<Function> setter = Local<Function>(), |
+ PropertyAttribute attribute = None); |
+#endif // V8_JS_ACCESSORS |
+ |
/** |
* Whenever the property with the given name is accessed on objects |
* created from this Template the getter and setter callbacks |