Cthulhu
0.2.10
Cthulhu compiler collection
|
Go to the source code of this file.
Macros | |
#define | CT_HAS_INCLUDE(x) 0 |
check if the compiler has a header More... | |
#define | CT_HAS_C_ATTRIBUTE(x) 0 |
check if the compiler supports a c attribute More... | |
#define | CT_HAS_ATTRIBUTE(x) (CT_HAS_CXX_ATTRIBUTE(x) || CT_HAS_C_ATTRIBUTE(x)) |
check if the compiler supports an attribute (c or c++) More... | |
#define | CT_HAS_BUILTIN(x) 0 |
check if the compiler has a builtin More... | |
#define | CT_PRAGMA(x) |
#define | CT_NORETURN_IMPL _Noreturn void |
#define | CT_NATIVE_PATH_SEPARATOR "/" |
#define | CT_PATH_SEPERATORS "/" |
#define | CT_UNREACHABLE() ((void)0) |
mark a point in code as unreachable More... | |
#define | CT_ASSUME(expr) do { if (!(expr)) { CT_UNREACHABLE(); } } while (0) |
assume that expr is true More... | |
#define | CT_LINKAGE_C |
#define | CT_BEGIN_API |
#define | CT_END_API |
#define | CT_FUNCTION_NAME __func__ |
the name of the current function More... | |
#define | CT_BSWAP_U16(x) __builtin_bswap16(x) |
#define | CT_BSWAP_U32(x) __builtin_bswap32(x) |
#define | CT_BSWAP_U64(x) __builtin_bswap64(x) |
#define | CT_EXPORT |
#define | CT_IMPORT |
#define | CT_LOCAL |
#define | CT_ENUM_FLAGS(X, T) |
#define CT_HAS_INCLUDE | ( | x | ) | 0 |
check if the compiler has a header
Definition at line 14 of file compiler.h.