summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--darwintest/bleh_darwin.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/darwintest/bleh_darwin.m b/darwintest/bleh_darwin.m
index 5ed2155..f24806c 100644
--- a/darwintest/bleh_darwin.m
+++ b/darwintest/bleh_darwin.m
@@ -19,7 +19,7 @@ Go wrapper functions (bleh_darwin.go) call these directly and take care of stdin
#include <Foundation/NSGeometry.h>
/*
-NSUInteger is listed as being in <objc/NSObjCRuntime.h>... which doesn't exist. Rather than relying on undocumented behavior 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, I'll just place things here for maximum safety. I use uintptr_t as that should encompass every possible unsigned long.
*/
id _objc_msgSend_uint(id obj, SEL sel, uintptr_t a)