mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-03 14:25:03 +02:00
24 lines
344 B
C
24 lines
344 B
C
#ifndef MACROSH_
|
|
#define MACROSH_
|
|
|
|
// Do we just replace the compiler with clang??
|
|
#if defined(__clang__)
|
|
#define NULLABLE _Nullable
|
|
#else
|
|
#define NULLABLE
|
|
#endif
|
|
|
|
#if defined(__clang__)
|
|
#define NNULLABLE _Nonnull
|
|
#else
|
|
#define NNULLABLE
|
|
#endif
|
|
|
|
#if defined(__clang__)
|
|
#define UNULLABLE _Null_unspecified
|
|
#else
|
|
#define UNULLABLE
|
|
#endif
|
|
|
|
#endif
|