From f6b274e64a749efe28b9a81ddbf5a1096a5c015c Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 29 Feb 2012 01:42:58 +0000 Subject: [PATCH] Remove the long-obsolete CYWeakHell insanity. --- LockScreen.mm | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/LockScreen.mm b/LockScreen.mm index d677329..9c1c4b5 100644 --- a/LockScreen.mm +++ b/LockScreen.mm @@ -539,28 +539,6 @@ static void Cycriptify(const WebCore::String &source, int *psize = NULL) { } // }}} -extern "C" void *_ZN3JSC7UString3Rep14nullBaseStringE __attribute__((__weak_import__)); -extern "C" void *_ZN3JSC7UString3Rep7destroyEv __attribute__((__weak_import__)); -extern "C" void *_ZN3JSC7UStringC1EPKti __attribute__((__weak_import__)); -extern "C" void *_ZN3JSC7UStringC1EPKc __attribute__((__weak_import__)); -extern "C" void *_ZNK3JSC7UString6substrEii __attribute__((__weak_import__)); -extern "C" void *_ZN3WTF10fastMallocEm __attribute__((__weak_import__)); -extern "C" void WTFReportAssertionFailure(const char *, int, const char *, const char *) __attribute__((__weak_import__)); -extern "C" void *_ZN3WTF8fastFreeEPv __attribute__((__weak_import__)); - -bool CYWeakHell() { - return - &_ZN3JSC7UString3Rep14nullBaseStringE == NULL || - &_ZN3JSC7UString3Rep7destroyEv == NULL || - &_ZN3JSC7UStringC1EPKti == NULL || - &_ZN3JSC7UStringC1EPKc == NULL || - &_ZNK3JSC7UString6substrEii == NULL || - &_ZN3WTF10fastMallocEm == NULL || - &WTFReportAssertionFailure == NULL || - &_ZN3WTF8fastFreeEPv == NULL || - false; -} - static WebCore::String *string; // iOS 2.x -- 2.45.2