diff options
Diffstat (limited to 'Public/Kits/SystemKit/CoreAPI.hxx')
| -rw-r--r-- | Public/Kits/SystemKit/CoreAPI.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Public/Kits/SystemKit/CoreAPI.hxx b/Public/Kits/SystemKit/CoreAPI.hxx index f3e67e96..fa5e8eef 100644 --- a/Public/Kits/SystemKit/CoreAPI.hxx +++ b/Public/Kits/SystemKit/CoreAPI.hxx @@ -9,9 +9,18 @@ #pragma once +#ifndef __cplusplus +#error This API is meant to be used with C++ +#endif + #ifdef MUST_PASS #undef MUST_PASS #endif // unused by user side, it's a kernel thing. #define MUST_PASS(e) ((void)e) + +#define EXTERN_C extern "C" + +#define STDCALL __attribute__((stdcall)) +#define CDECL __attribute__((cdecl)) |
