Attributes are GCC features and not hacks. They are widly and commonly used. These attributes are not currently implemented for Objective-C
This mean that methods could not (currently) have attributes, but this article proposes to use it on a C function.
Do not forget that Obj-C is a true superset of C, and what is true for C in .c file, is true for C in .m files.
by Jean-Daniel Dupas — Nov 30
These attributes are not currently implemented for Objective-C
This mean that methods could not (currently) have attributes, but this article proposes to use it on a C function.
Do not forget that Obj-C is a true superset of C, and what is true for C in .c file, is true for C in .m files.