forked from dearimgui/dear_bindings
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d5f6d82
commit 237ac08
Showing
3 changed files
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
#if defined _WIN32 || defined __CYGWIN__ | ||
#ifdef CIMGUI_NO_EXPORT | ||
#define API | ||
#else | ||
#define API __declspec(dllexport) | ||
#endif | ||
#else | ||
#ifdef __GNUC__ | ||
#define API __attribute__((__visibility__("default"))) | ||
#else | ||
#define API | ||
#endif | ||
#endif | ||
|
||
#if defined __cplusplus | ||
#define EXTERN extern "C" | ||
#else | ||
#define EXTERN extern | ||
#endif | ||
|
||
#define CIMGUI_API EXTERN API | ||
|