|
cbase 1.46.11
C/C++ Static Template
|
Semantic replacements for the static and extern keywords. More...
Macros | |
| #define | function static |
| File-scoped function (invisible to the linker). | |
| #define | global static |
| File-scoped global variable (invisible to the linker). | |
| #define | local_persist static |
| Function-scoped static variable (persists state across calls). | |
| #define | external extern |
| Externally linked variable or function. | |
| #define | thread_local _Thread_local |
| Declares a thread-local variable (each thread gets its own instance). | |
| #define | API_EXPORT |
| Exports a symbol from a shared library (.dll / .so). | |
| #define | API_LOCAL |
| Hides a symbol from a shared library (.dll / .so). | |
| #define | C_LINKAGE_BEGIN |
| Opens a C linkage block for C++ compilers (Empty in C). | |
| #define | C_LINKAGE_END |
| Closes a C linkage block for C++ compilers (Empty in C). | |
Semantic replacements for the static and extern keywords.
| #define API_EXPORT |
Exports a symbol from a shared library (.dll / .so).
Definition at line 189 of file base_macros.h.
| #define API_LOCAL |
Hides a symbol from a shared library (.dll / .so).
Definition at line 191 of file base_macros.h.
| #define C_LINKAGE_BEGIN |
Opens a C linkage block for C++ compilers (Empty in C).
Definition at line 201 of file base_macros.h.
| #define C_LINKAGE_END |
Closes a C linkage block for C++ compilers (Empty in C).
Definition at line 203 of file base_macros.h.
| #define external extern |
Externally linked variable or function.
Definition at line 164 of file base_macros.h.
| #define function static |
File-scoped function (invisible to the linker).
Definition at line 155 of file base_macros.h.
| #define global static |
File-scoped global variable (invisible to the linker).
Definition at line 158 of file base_macros.h.
| #define local_persist static |
Function-scoped static variable (persists state across calls).
Definition at line 161 of file base_macros.h.
| #define thread_local _Thread_local |
Declares a thread-local variable (each thread gets its own instance).
Definition at line 172 of file base_macros.h.