I believe it's:

    #if __has_feature(nullability)


On 13 June 2015 at 11:54, 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?
>
> --
> Jonathan
>
 _______________________________________________
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