Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 7de714f8dd4811430b2abf6983f3ce150104d07a..dbf2b08a7e7f66a3b2bcdb1d81bfe77960ac783f 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -2982,6 +2982,14 @@ class V8_EXPORT Template : public Data { |
void Set(Handle<String> name, Handle<Data> value, |
PropertyAttribute attributes = None); |
V8_INLINE(void Set(const char* name, Handle<Data> value)); |
+ |
+ void SetAccessorProperty( |
+ Local<String> name, |
+ Local<FunctionTemplate> getter = Local<FunctionTemplate>(), |
+ Local<FunctionTemplate> setter = Local<FunctionTemplate>(), |
+ PropertyAttribute attribute = None, |
+ AccessControl settings = DEFAULT); |
+ |
private: |
Template(); |