C++ Utilities 5.24.7
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Loading...
Searching...
No Matches
Macros
global.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CPP_UTILITIES_GENERIC_LIB_EXPORT   __attribute__((visibility("default")))
 Marks a symbol for shared library export.
 
#define CPP_UTILITIES_GENERIC_LIB_IMPORT   __attribute__((visibility("default")))
 Declares a symbol to be an import from a shared library.
 
#define CPP_UTILITIES_GENERIC_LIB_HIDDEN   __attribute__((visibility("hidden")))
 Hidden visibility indicates that the symbol will not be placed into the dynamic symbol table, so no other module (executable or shared library) can reference it directly.
 
#define CPP_UTILITIES_UNUSED(x)   (void)x;
 Prevents warnings about unused variables.
 
#define CPP_UTILITIES_IF_DEBUG_BUILD(x)
 Wraps debug-only lines conveniently.
 

Macro Definition Documentation

◆ CPP_UTILITIES_GENERIC_LIB_EXPORT

#define CPP_UTILITIES_GENERIC_LIB_EXPORT   __attribute__((visibility("default")))

Marks a symbol for shared library export.

Definition at line 82 of file global.h.

◆ CPP_UTILITIES_GENERIC_LIB_HIDDEN

#define CPP_UTILITIES_GENERIC_LIB_HIDDEN   __attribute__((visibility("hidden")))

Hidden visibility indicates that the symbol will not be placed into the dynamic symbol table, so no other module (executable or shared library) can reference it directly.

Definition at line 84 of file global.h.

◆ CPP_UTILITIES_GENERIC_LIB_IMPORT

#define CPP_UTILITIES_GENERIC_LIB_IMPORT   __attribute__((visibility("default")))

Declares a symbol to be an import from a shared library.

Definition at line 83 of file global.h.

◆ CPP_UTILITIES_IF_DEBUG_BUILD

#define CPP_UTILITIES_IF_DEBUG_BUILD ( x)

Wraps debug-only lines conveniently.

Definition at line 102 of file global.h.

◆ CPP_UTILITIES_UNUSED

#define CPP_UTILITIES_UNUSED ( x)    (void)x;

Prevents warnings about unused variables.

Definition at line 92 of file global.h.