HawkTracer
0.10.0
|
#include <hawktracer/ht_config.h>
Go to the source code of this file.
Macros | |
#define | HT_UNUSED(x) (void)(x) |
Helper macro for suppressing unused value warnings. More... | |
#define | HT_DECLS_BEGIN extern "C" { |
Defines a beginning of C linkage block. More... | |
#define | HT_DECLS_END } |
Defines an end of C linkage block. More... | |
#define | HT_CPP11 |
#define | HT_LIKELY(expr) (expr) |
Hints a compiler that the expression is likely to evaluate to true. More... | |
#define | HT_UNLIKELY(expr) (expr) |
Hints a compiler that the expression is likely to evaluate to false. More... | |
#define | HT_INLINE inline |
Defines an inline directive for inlining functions. More... | |
#define | HT_API |
Defines a directive for exporting/importing symbols from DLL. More... | |
#define | HT_MACRO_CONCAT_(x, y) x ## y |
#define | HT_MACRO_CONCAT(x, y) HT_MACRO_CONCAT_(x, y) |
Concatenates two values. More... | |
#define | HT_UNIQUE_VAR_NAME(BASE_VAR_NAME) HT_MACRO_CONCAT(BASE_VAR_NAME, __LINE__) |
Creates unique variable name by appending a line number to a base name. More... | |
#define | HT_THREAD_LOCAL thread_local |
A thread storage duration. More... | |
#define HT_API |
Defines a directive for exporting/importing symbols from DLL.
#define HT_CPP11 |
#define HT_DECLS_BEGIN extern "C" { |
Defines a beginning of C linkage block.
#define HT_DECLS_END } |
Defines an end of C linkage block.
#define HT_INLINE inline |
Defines an inline directive for inlining functions.
#define HT_LIKELY | ( | expr | ) | (expr) |
Hints a compiler that the expression is likely to evaluate to true.
This information may be used for compiler optimizations.
#define HT_MACRO_CONCAT | ( | x, | |
y | |||
) | HT_MACRO_CONCAT_(x, y) |
Concatenates two values.
#define HT_MACRO_CONCAT_ | ( | x, | |
y | |||
) | x ## y |
#define HT_THREAD_LOCAL thread_local |
A thread storage duration.
#define HT_UNIQUE_VAR_NAME | ( | BASE_VAR_NAME | ) | HT_MACRO_CONCAT(BASE_VAR_NAME, __LINE__) |
Creates unique variable name by appending a line number to a base name.
#define HT_UNLIKELY | ( | expr | ) | (expr) |
Hints a compiler that the expression is likely to evaluate to false.
This information may be used for compiler optimizations.
#define HT_UNUSED | ( | x | ) | (void)(x) |
Helper macro for suppressing unused value warnings.