Re:Objective-C literals for NSDictionary, NSArray, and NSNumber
by pornel on Sunday February 19, 2012 @10:25AM
(#3609519)
You can use C99 struct literals:
Small structs may be passed in registers. http://stackoverflow.com/a/3355560/27009
[ Parent
| on HN ]
Re:Objective-C literals for NSDictionary, NSArray, and NSNumber
by drpancake on Sunday February 19, 2012 @10:54AM
(#3609572)
IIRC passing Obj-C object pointers in C structs is disallowed or discouraged by ARC.