summaryrefslogtreecommitdiff
path: root/bleh_darwin.m
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-04-06 13:09:58 -0400
committerPietro Gagliardi <[email protected]>2014-04-06 13:09:58 -0400
commitf12bae7d3eeaa2ce890d8f5dc9e996ccebebe23f (patch)
tree5dd1ef7fbacf560c08925bd255d6c157c25234c2 /bleh_darwin.m
parenta65012f476f62faa2f9ec5ac43e4663dce02fcad (diff)
Wrote an update on the NSUInteger/NSInteger situation in bleh_darwin.m.
Diffstat (limited to 'bleh_darwin.m')
-rw-r--r--bleh_darwin.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/bleh_darwin.m b/bleh_darwin.m
index f5f81db..8f77b84 100644
--- a/bleh_darwin.m
+++ b/bleh_darwin.m
@@ -62,7 +62,7 @@ void initBleh()
}
/*
-NSUInteger is listed as being in <objc/NSObjCRuntime.h>... which doesn't exist. Rather than relying on undocumented header file locations or explicitly typedef-ing NSUInteger to the (documented) unsigned long, I'll just place things here for maximum safety. I use uintptr_t as that should encompass every possible unsigned long.
+NSUInteger is listed as being in <objc/NSObjCRuntime.h>... which doesn't exist. Rather than relying on undocumented header file locations or explicitly typedef-ing NSUInteger to the (documented) unsigned long, Even better: it appears to actually be <Foundation/NSObjCRuntime.h>, and requires Objective-C (it declares NSString), so we don't have a choice but to just place things here. For maximum safety. I use uintptr_t as that should encompass every possible unsigned long.
*/
uintptr_t objc_msgSend_uintret_noargs(id obj, SEL sel)