Searched defs:kJSClassAttributeNoAutomaticPrototype (Results 1 - 1 of 1) sorted by relevance

/external/webkit/Source/JavaScriptCore/API/
H A DJSObjectRef.h66 @constant kJSClassAttributeNoAutomaticPrototype Specifies that a class should not automatically generate a shared prototype for its instance objects. Use kJSClassAttributeNoAutomaticPrototype in combination with JSObjectSetPrototype to manage prototypes manually.
70 kJSClassAttributeNoAutomaticPrototype = 1 << 1 enumerator in enum:__anon14294
339 Standard JavaScript practice calls for storing function objects in prototypes, so they can be shared. The default JSClass created by JSClassCreate follows this idiom, instantiating objects with a shared, automatically generating prototype containing the class's function objects. The kJSClassAttributeNoAutomaticPrototype attribute specifies that a JSClass should not automatically generate such a prototype. The resulting JSClass instantiates objects with the default object prototype, and gives each instance object its own copy of the class's function objects.

Completed in 32 milliseconds