> On Jun 13, 2015, at 7:54 AM, Jonathan Schleifer <[email protected]> 
> wrote:
> Hi!
> 
> I saw that there's a __has_feature() for objc_generics and objc_kindof, 
> however, there doesn't seem to be objc_nullability or similar. Since the 
> sources for the Clang from Xcode 7 haven't been released, I grepped through 
> `strings clang`, however, I could not find anything useful.
> 
> What is the best way to check if the compiler supports nullability, so that 
> if not I can #define nonnull and friends to nothing?
> 
> PS: I also found objc_generics_variance - what's that?

The feature test for the “covariant” and “contravariant” annotations.

John.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/objc-language/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to