Derive-C
Loading...
Searching...
No Matches
attributes.h File Reference

Go to the source code of this file.

Macros

#define DC_INLINE   inline __attribute__((always_inline))
#define DC_CONST   __attribute__((const))
#define DC_PURE   __attribute__((pure))
#define DC_NODISCARD   __attribute__((warn_unused_result))
#define DC_UNUSED   __attribute__((unused))
#define DC_RESTRICT   restrict
#define DC_STATIC_CONSTANT   static const
#define DC_THREAD_LOCAL   _Thread_local

Macro Definition Documentation

◆ DC_CONST

#define DC_CONST   __attribute__((const))

Definition at line 4 of file attributes.h.

◆ DC_INLINE

#define DC_INLINE   inline __attribute__((always_inline))

Definition at line 3 of file attributes.h.

◆ DC_NODISCARD

#define DC_NODISCARD   __attribute__((warn_unused_result))

Definition at line 6 of file attributes.h.

◆ DC_PURE

#define DC_PURE   __attribute__((pure))

Definition at line 5 of file attributes.h.

◆ DC_RESTRICT

#define DC_RESTRICT   restrict

Definition at line 15 of file attributes.h.

◆ DC_STATIC_CONSTANT

#define DC_STATIC_CONSTANT   static const

Definition at line 23 of file attributes.h.

◆ DC_THREAD_LOCAL

#define DC_THREAD_LOCAL   _Thread_local

Definition at line 31 of file attributes.h.

◆ DC_UNUSED

#define DC_UNUSED   __attribute__((unused))

Definition at line 7 of file attributes.h.