This repository has been archived by the owner on Dec 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 461
Suggestion about metamacro_argcount #56
Comments
I strongly dislike the zero-argument extension. What's the use case for this? |
Actually, nothing serious. Just interesting, why strongly? I have it working fine in Xcode - I know it is by no means an argument, but what are really the limitations that are expected from using it? |
Mostly I just think zero-argument macros are kind of a hack, but libextobjc has other such hacks, I suppose. Perhaps a bigger issue is that metamacros.h actually comes from libextc, which is strictly C99 compliant. This change wouldn't be backportable. :\ |
OK, thanks. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello.
Please, consider basing metamacro_argcount on the solution proposed here so it could properly count zero-arguments presence.
I see the next comment there states "This uses a nonstandard GCC extension." but I can't evaluate myself if it is really a no-no for Objective-C world so I decided to write you about this solution to know if it can be included into libextobjc.
Thanks.
The text was updated successfully, but these errors were encountered: