From f7edf08d067b4c52c3183e8ad0467293e54075e8 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 31 Jan 2024 12:41:06 +0100 Subject: Add BUG_LIST.TXT, kernel improvements and Public kits improvements. Signed-off-by: Amlal El Mahrouss --- Public/Kits/SystemKit/CoreAPI.hxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Public/Kits/SystemKit/CoreAPI.hxx') 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)) -- cgit v1.2.3