From: Jay Freeman (saurik) Date: Wed, 29 Feb 2012 01:42:58 +0000 (+0000) Subject: Remove the long-obsolete CYWeakHell insanity. X-Git-Tag: v0.9.4004~5 X-Git-Url: https://git.saurik.com/cydget.git/commitdiff_plain/f6b274e64a749efe28b9a81ddbf5a1096a5c015c?ds=sidebyside Remove the long-obsolete CYWeakHell insanity. --- 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