X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/12899fa232562c774004a3a9d7d3149944dec712..cb9aa2694aba0ae4f946ed34b8e0f6c99c1cfe44:/API/ObjCCallbackFunction.h diff --git a/API/ObjCCallbackFunction.h b/API/ObjCCallbackFunction.h index 0b0b543..046bf65 100644 --- a/API/ObjCCallbackFunction.h +++ b/API/ObjCCallbackFunction.h @@ -54,10 +54,10 @@ public: static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype) { ASSERT(globalObject); - return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), &s_info); + return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), info()); } - static JS_EXPORTDATA const ClassInfo s_info; + DECLARE_EXPORT_INFO; ObjCCallbackFunctionImpl* impl() const { return m_impl.get(); }