v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 2184 | skipping to change at line 2184 | |||
* | * | |||
* Call with a value of true to make the __proto__ accessor ignore | * Call with a value of true to make the __proto__ accessor ignore | |||
* instances of the function template. Call with a value of false | * instances of the function template. Call with a value of false | |||
* to make the __proto__ accessor not ignore instances of the | * to make the __proto__ accessor not ignore instances of the | |||
* function template. By default, instances of a function template | * function template. By default, instances of a function template | |||
* are not ignored. | * are not ignored. | |||
*/ | */ | |||
void SetHiddenPrototype(bool value); | void SetHiddenPrototype(bool value); | |||
/** | /** | |||
* Sets the property attributes of the 'prototype' property of functions | * Sets the ReadOnly flag in the attributes of the 'prototype' property | |||
* created from this FunctionTemplate. Can be any combination of ReadOnly | * of functions created from this FunctionTemplate to true. | |||
, | ||||
* DontEnum and DontDelete. | ||||
*/ | */ | |||
void SetPrototypeAttributes(int attributes); | void ReadOnlyPrototype(); | |||
/** | /** | |||
* Returns true if the given object is an instance of this function | * Returns true if the given object is an instance of this function | |||
* template. | * template. | |||
*/ | */ | |||
bool HasInstance(Handle<Value> object); | bool HasInstance(Handle<Value> object); | |||
private: | private: | |||
FunctionTemplate(); | FunctionTemplate(); | |||
void AddInstancePropertyAccessor(Handle<String> name, | void AddInstancePropertyAccessor(Handle<String> name, | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 3 lines changed or added | |||