10 ms·
IIRC passing Obj-C object pointers in C structs is disallowed or discouraged by ARC.
by drpancake 15y ago
IIRC passing Obj-C object pointers in C structs is disallowed or discouraged by ARC.
- DrJokepu 15y agoYou have to explicitly bridge them in or out of ARC and indicate the ownership rules. Sometimes, for example when you're interfacing straight C code, you have no other option.