WinTer 0.1.1
Windows Terminal Emulator
Loading...
Searching...
No Matches
Linkage & Visibility

Macros for exporting shared library symbols and forcing internal linkage. More...

Macros

#define INTERNAL   static
 Marks a function or variable as strictly internal to its translation unit (static).
#define EXTERNAL   extern
 Marks a function or variable as externally linked (extern).
#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).

Detailed Description

Macros for exporting shared library symbols and forcing internal linkage.

Macro Definition Documentation

◆ API_EXPORT

#define API_EXPORT

Exports a symbol from a shared library (.dll / .so).

Definition at line 190 of file base_macros.h.

◆ API_LOCAL

#define API_LOCAL

Hides a symbol from a shared library (.dll / .so).

Definition at line 192 of file base_macros.h.

◆ C_LINKAGE_BEGIN

#define C_LINKAGE_BEGIN

Opens a C linkage block for C++ compilers (Empty in C).

Definition at line 202 of file base_macros.h.

◆ C_LINKAGE_END

#define C_LINKAGE_END

Closes a C linkage block for C++ compilers (Empty in C).

Definition at line 204 of file base_macros.h.

◆ EXTERNAL

#define EXTERNAL   extern

Marks a function or variable as externally linked (extern).

Definition at line 176 of file base_macros.h.

◆ INTERNAL

#define INTERNAL   static

Marks a function or variable as strictly internal to its translation unit (static).

Definition at line 173 of file base_macros.h.