Deprecate access to the isa pointer. This will become a hard error in future.

main
theraven 15 years ago
parent 22e5aaf7b0
commit 8e34dccda9

@ -76,6 +76,9 @@ typedef struct objc_object
* Pointer to this object's class. Accessing this directly is STRONGLY
* discouraged. You are recommended to use object_getClass() instead.
*/
#ifndef __OBJC_RUNTIME_INTERNAL__
__attribute__((deprecated))
#endif
Class isa;
} *id;

Loading…
Cancel
Save