Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index c3bccdc2413769e90b7542c7e63d896a7f9ae0e0..77602b549ba4ad98a6805314cb5e65afc17be101 100644 |
| --- a/include/v8.h |
| +++ b/include/v8.h |
| @@ -2144,6 +2144,13 @@ class V8EXPORT FunctionTemplate : public Template { |
| void SetHiddenPrototype(bool value); |
| /** |
| + * Sets the properties of the 'prototype' property of functions created |
|
Mads Ager (chromium)
2011/06/22 12:13:46
the properties -> the property attributes.
Jakob Kummerow
2011/06/22 12:36:59
Done.
|
| + * from this FunctionTemplate. Can be any combination of ReadOnly, |
| + * DontEnum and DontDelete. |
| + */ |
| + void SetPrototypeProperties(int flags); |
|
Mads Ager (chromium)
2011/06/22 12:13:46
These flags are normally called property attribute
Jakob Kummerow
2011/06/22 12:36:59
Done.
|
| + |
| + /** |
| * Returns true if the given object is an instance of this function |
| * template. |
| */ |