SimGrid  3.20
Versatile Simulation of Distributed Systems
base.h File Reference
#include <stdlib.h>

Macros

#define _GNU_SOURCE
 
#define XBT_UNREACHABLE()   abort()
 
#define XBT_ATTRIB_PRINTF(format_idx, arg_idx)   __attribute__((__format__ (__printf__, format_idx, arg_idx)))
 
#define XBT_ATTRIB_SCANF(format_idx, arg_idx)   __attribute__((__format__ (__scanf__, format_idx, arg_idx)))
 
#define XBT_ATTRIB_NORETURN   __attribute__((noreturn))
 
#define XBT_ATTRIB_UNUSED   __attribute__((unused))
 
#define XBT_ATTRIB_DEPRECATED(mesg)   __attribute__((deprecated(mesg)))
 
#define XBT_ATTRIB_DEPRECATED_v321(mesg)   XBT_ATTRIB_DEPRECATED(mesg) /* Will be dropped in v3.21 */
 
#define XBT_ATTRIB_DEPRECATED_v322(mesg)   XBT_ATTRIB_DEPRECATED(mesg) /* Will be dropped in v3.22 */
 
#define XBT_ATTRIB_DEPRECATED_v323(mesg)   XBT_ATTRIB_DEPRECATED(mesg " (this compatibility wrapper will be dropped in v3.23)") /* Will be dropped in v3.23 */
 
#define XBT_ATTRIB_CONSTRUCTOR(prio)   __attribute__((__constructor__(prio)))
 
#define XBT_ATTRIB_DESTRUCTOR(prio)   __attribute__((__destructor__(prio)))
 
#define XBT_ALWAYS_INLINE   inline
 
#define XBT_THREAD_LOCAL   No thread local on this architecture
 
#define _XBT_IF_ONE_ARG(one, more, ...)
 
#define _XBT_IF_ONE_ARG_(a64, a63, a62, a61, a60, a59, a58, a57, a56, a55, a54, a53, a52, a51, a50, a49, a48, a47, a46, a45, a44, a43, a42, a41, a40, a39, a38, a37, a36, a35, a34, a33, a32, a31, a30, a29, a28, a27, a26, a25, a24, a23, a22, a21, a20, a19, a18, a17, a16, a15, a14, a13, a12, a11, a10, a9, a8, a7, a6, a5, a4, a3, a2, a1, N, ...)   N
 
#define XBT_PUBLIC   /* public */
 
#define XBT_EXPORT_NO_IMPORT
 
#define XBT_IMPORT_NO_EXPORT
 
#define XBT_PUBLIC_DATA   extern
 
#define XBT_PRIVATE   /** @private */
 
#define SG_BEGIN_DECL()
 
#define SG_END_DECL()
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

◆ XBT_UNREACHABLE

#define XBT_UNREACHABLE ( )    abort()

◆ XBT_ATTRIB_PRINTF

#define XBT_ATTRIB_PRINTF (   format_idx,
  arg_idx 
)    __attribute__((__format__ (__printf__, format_idx, arg_idx)))

◆ XBT_ATTRIB_SCANF

#define XBT_ATTRIB_SCANF (   format_idx,
  arg_idx 
)    __attribute__((__format__ (__scanf__, format_idx, arg_idx)))

◆ XBT_ATTRIB_NORETURN

#define XBT_ATTRIB_NORETURN   __attribute__((noreturn))

◆ XBT_ATTRIB_UNUSED

#define XBT_ATTRIB_UNUSED   __attribute__((unused))

◆ XBT_ATTRIB_DEPRECATED

#define XBT_ATTRIB_DEPRECATED (   mesg)    __attribute__((deprecated(mesg)))

◆ XBT_ATTRIB_DEPRECATED_v321

#define XBT_ATTRIB_DEPRECATED_v321 (   mesg)    XBT_ATTRIB_DEPRECATED(mesg) /* Will be dropped in v3.21 */

◆ XBT_ATTRIB_DEPRECATED_v322

#define XBT_ATTRIB_DEPRECATED_v322 (   mesg)    XBT_ATTRIB_DEPRECATED(mesg) /* Will be dropped in v3.22 */
Examples:
include/smpi/smpi.h.

◆ XBT_ATTRIB_DEPRECATED_v323

#define XBT_ATTRIB_DEPRECATED_v323 (   mesg)    XBT_ATTRIB_DEPRECATED(mesg " (this compatibility wrapper will be dropped in v3.23)") /* Will be dropped in v3.23 */

◆ XBT_ATTRIB_CONSTRUCTOR

#define XBT_ATTRIB_CONSTRUCTOR (   prio)    __attribute__((__constructor__(prio)))

◆ XBT_ATTRIB_DESTRUCTOR

#define XBT_ATTRIB_DESTRUCTOR (   prio)    __attribute__((__destructor__(prio)))

◆ XBT_ALWAYS_INLINE

#define XBT_ALWAYS_INLINE   inline

◆ XBT_THREAD_LOCAL

#define XBT_THREAD_LOCAL   No thread local on this architecture

◆ _XBT_IF_ONE_ARG

#define _XBT_IF_ONE_ARG (   one,
  more,
  ... 
)
Value:
_XBT_IF_ONE_ARG_(__VA_ARGS__, \
more, more, more, more, more, more, more, more, \
more, more, more, more, more, more, more, more, \
more, more, more, more, more, more, more, more, \
more, more, more, more, more, more, more, more, \
more, more, more, more, more, more, more, more, \
more, more, more, more, more, more, more, more, \
more, more, more, more, more, more, more, more, \
more, more, more, more, more, more, more, one)
#define _XBT_IF_ONE_ARG_(a64, a63, a62, a61, a60, a59, a58, a57, a56, a55, a54, a53, a52, a51, a50, a49, a48, a47, a46, a45, a44, a43, a42, a41, a40, a39, a38, a37, a36, a35, a34, a33, a32, a31, a30, a29, a28, a27, a26, a25, a24, a23, a22, a21, a20, a19, a18, a17, a16, a15, a14, a13, a12, a11, a10, a9, a8, a7, a6, a5, a4, a3, a2, a1, N,...)
Definition: base.h:114

◆ _XBT_IF_ONE_ARG_

#define _XBT_IF_ONE_ARG_ (   a64,
  a63,
  a62,
  a61,
  a60,
  a59,
  a58,
  a57,
  a56,
  a55,
  a54,
  a53,
  a52,
  a51,
  a50,
  a49,
  a48,
  a47,
  a46,
  a45,
  a44,
  a43,
  a42,
  a41,
  a40,
  a39,
  a38,
  a37,
  a36,
  a35,
  a34,
  a33,
  a32,
  a31,
  a30,
  a29,
  a28,
  a27,
  a26,
  a25,
  a24,
  a23,
  a22,
  a21,
  a20,
  a19,
  a18,
  a17,
  a16,
  a15,
  a14,
  a13,
  a12,
  a11,
  a10,
  a9,
  a8,
  a7,
  a6,
  a5,
  a4,
  a3,
  a2,
  a1,
  N,
  ... 
)    N

◆ XBT_PUBLIC

#define XBT_PUBLIC   /* public */
Examples:
include/smpi/smpi.h.

◆ XBT_EXPORT_NO_IMPORT

#define XBT_EXPORT_NO_IMPORT

◆ XBT_IMPORT_NO_EXPORT

#define XBT_IMPORT_NO_EXPORT

◆ XBT_PUBLIC_DATA

#define XBT_PUBLIC_DATA   extern
Examples:
include/smpi/smpi.h.

◆ XBT_PRIVATE

#define XBT_PRIVATE   /** @private */

◆ SG_BEGIN_DECL

#define SG_BEGIN_DECL ( )
Examples:
include/smpi/smpi.h.

◆ SG_END_DECL

#define SG_END_DECL ( )
Examples:
include/smpi/smpi.h.