rcutils  master
C API providing common utilities and data structures.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros
macros.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RCUTILS_WARN_UNUSED   __attribute__((warn_unused_result))
 
#define RCUTILS_THREAD_LOCAL   _Thread_local
 
#define RCUTILS_STRINGIFY_IMPL(x)   #x
 
#define RCUTILS_STRINGIFY(x)   RCUTILS_STRINGIFY_IMPL(x)
 
#define RCUTILS_UNUSED(x)   (void)(x)
 

Macro Definition Documentation

◆ RCUTILS_WARN_UNUSED

#define RCUTILS_WARN_UNUSED   __attribute__((warn_unused_result))

◆ RCUTILS_THREAD_LOCAL

#define RCUTILS_THREAD_LOCAL   _Thread_local

◆ RCUTILS_STRINGIFY_IMPL

#define RCUTILS_STRINGIFY_IMPL (   x)    #x

◆ RCUTILS_STRINGIFY

#define RCUTILS_STRINGIFY (   x)    RCUTILS_STRINGIFY_IMPL(x)

◆ RCUTILS_UNUSED

#define RCUTILS_UNUSED (   x)    (void)(x)