mirror of
https://github.com/Immediate-Mode-UI/Nuklear.git
synced 2026-12-01 16:56:23 +01:00
Merge branch 'master' of https://github.com/embox/nuklear into embox-master
This commit is contained in:
@@ -271,11 +271,17 @@ extern "C" {
|
||||
* ===============================================================
|
||||
*/
|
||||
#ifndef NK_API
|
||||
#ifdef NK_PRIVATE
|
||||
#define NK_API static
|
||||
#else
|
||||
#define NK_API extern
|
||||
#endif
|
||||
#ifdef NK_PRIVATE
|
||||
#if (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199409L))
|
||||
#define NK_API static inline
|
||||
#elif defined(__cplusplus)
|
||||
#define NK_API static inline
|
||||
#else
|
||||
#define NK_API static
|
||||
#endif
|
||||
#else
|
||||
#define NK_API extern
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define NK_INTERN static
|
||||
|
||||
Reference in New Issue
Block a user