Searched refs:JSObjectSetPrototype (Results 1 - 5 of 5) sorted by relevance
/macosx-10.10/JavaScriptCore-7600.1.17/API/ |
H A D | JSObjectRef.h | 66 @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. 511 JS_EXPORT void JSObjectSetPrototype(JSContextRef ctx, JSObjectRef object, JSValueRef value);
|
H A D | JSWrapperMap.mm | 501 JSObjectSetPrototype([m_context JSGlobalContextRef], toRef(m_prototype.get()), toRef(superClassPrototype)); 534 JSObjectSetPrototype([m_context JSGlobalContextRef], wrapper, toRef(prototype));
|
H A D | JSObjectRef.cpp | 293 void JSObjectSetPrototype(JSContextRef ctx, JSObjectRef object, JSValueRef value) function
|
/macosx-10.10/JavaScriptCore-7600.1.17/API/tests/ |
H A D | testapi.c | 1001 JSObjectSetPrototype(context, object1, JSValueMakeNull(context)); 1005 JSObjectSetPrototype(context, object1, object1); 1009 JSObjectSetPrototype(context, object2, object1); 1011 JSObjectSetPrototype(context, object1, object2); 1015 JSObjectSetPrototype(context, object2, object3); 1017 JSObjectSetPrototype(context, object1, object2); 1019 JSObjectSetPrototype(context, object3, object1); 1229 JSObjectSetPrototype(context, jsObjectNoProto, JSValueMakeNull(context));
|
H A D | testapi.mm | 1160 JSObjectSetPrototype(contextRef, newThisRef, [[JSContext currentContext][@"MyClass"][@"prototype"] JSValueRef]); 1168 JSObjectSetPrototype(contextRef, newThisRef, [[JSContext currentContext][@"MyOtherClass"][@"prototype"] JSValueRef]); 1224 JSObjectSetPrototype(contextRef, newThisRef, [[JSContext currentCallee][@"prototype"] JSValueRef]);
|
Completed in 127 milliseconds