27 arguments.This()->SetAlignedPointerInInternalField(0, that);
28 arguments.This()->SetAlignedPointerInInternalField(1,
nullptr);
29 #elif defined(USING_JSC) 30 JSClassRef cls = that->
factory()->GetClass();
31 LocalVar<JsObject> obj(JSObjectMake(
GetContext(), cls, that));
35 arguments.SetReturn(obj);
virtual BackingObjectFactoryBase * factory() const =0
void SetJsThis(Handle< JsObject > this_)
bool ConstructWrapperObject(const CallbackArguments &arguments, BackingObject *that)
JSContextRef GetContext()