aboutsummaryrefslogtreecommitdiff
path: root/DebugUtils
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2009-05-27 17:30:25 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2009-05-27 17:30:25 +0000
commit6251788ff71bfd9da23b4e504da423f10b858d83 (patch)
tree125ec72d2d881b4774c9a08ebd2068f62f22f730 /DebugUtils
parentc036015092f737da4ef8e2a5df6dd9f63f1c3b3f (diff)
[Author: dmaclach]
Fix for GTMMethodCheck under SnowLeopard so we don't get "Class __NSGenericDeallocHandler does not conform to @protocol(NSObject), so won't be checked" warnings. DELTA=1 (1 added, 0 deleted, 0 changed) R=thomasvl
Diffstat (limited to 'DebugUtils')
-rw-r--r--DebugUtils/GTMMethodCheck.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/DebugUtils/GTMMethodCheck.m b/DebugUtils/GTMMethodCheck.m
index 2f88dc3..a8c4ae3 100644
--- a/DebugUtils/GTMMethodCheck.m
+++ b/DebugUtils/GTMMethodCheck.m
@@ -44,6 +44,7 @@ static BOOL ConformsToNSObjectProtocol(Class cls) {
// On iPhone we check Object as well
if ((strncmp(className, "NS", 2) == 0)
|| (strncmp(className, "_NS", 3) == 0)
+ || (strncmp(className, "__NS", 4) == 0)
|| (strcmp(className, "CFObject") == 0)
#if GTM_IPHONE_SDK
|| (strcmp(className, "Object") == 0)