Reworded a comment in bleh_darwin.m: the docs don't imply the wrong information, they outright say the wrong information.

This commit is contained in:
Pietro Gagliardi 2014-03-01 16:01:19 -05:00
parent 91379e5a9a
commit 0b4e1ff246
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ I use int64_t for maximum safety, as my coordinates are stored as Go ints and Go
*/
/*
This is not documented in the docs, but is in various places on apple.com. In fact, the docs are actually WRONG: they imply you pass a pointer to the structure as the first argument to objc_msgSend_stret! And there might be some cases where we can't use stret because the struct is small enough... we'll see. (TODO)
This is not documented in the docs, but is in various places on apple.com. In fact, the docs are actually WRONG: they say you pass a pointer to the structure as the first argument to objc_msgSend_stret()! And there might be some cases where we can't use stret because the struct is small enough... we'll see. (TODO)
*/
static NSRect (*objc_msgSend_stret_rect)(id, SEL, ...) =
(NSRect (*)(id, SEL, ...)) objc_msgSend_stret;