From: Jay Freeman (saurik) Date: Sun, 12 Jan 2014 08:12:46 +0000 (-0800) Subject: The objc_registerClassPair hack is not even there. X-Git-Tag: v0.9.500~60 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/c58a5ce869f7700814d0f82a3419966fbc32b9a5 The objc_registerClassPair hack is not even there. --- diff --git a/ObjectiveC/Library.mm b/ObjectiveC/Library.mm index 1904f24..7b62f70 100644 --- a/ObjectiveC/Library.mm +++ b/ObjectiveC/Library.mm @@ -2930,10 +2930,6 @@ void CYObjectiveC_SetupContext(JSContextRef context) { CYPoolTry { JSObjectRef box(JSObjectMakeFunctionWithCallback(context, CYJSString("box"), &Instance_box_callAsFunction)); CYSetProperty(context, Instance, CYJSString("box"), box); -#if defined(__APPLE__) && defined(__arm__) && 0 - CYSetProperty(context, all, CYJSString("objc_registerClassPair"), &objc_registerClassPair_, kJSPropertyAttributeDontEnum); -#endif - #ifdef __APPLE__ CYSetProperty(context, all, CYJSString("choose"), &choose, kJSPropertyAttributeDontEnum); #endif