summaryrefslogtreecommitdiffhomepage
path: root/Public/Kits/SystemKit/CoreAPI.hxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-31 12:41:06 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-31 12:41:06 +0100
commitf7edf08d067b4c52c3183e8ad0467293e54075e8 (patch)
tree0e2894d78684966993ff2bed2df4d6c5e12aef87 /Public/Kits/SystemKit/CoreAPI.hxx
parentfc55f0d69d24fb4908cbd811681f2c3fac53614d (diff)
Add BUG_LIST.TXT, kernel improvements and Public kits improvements.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Public/Kits/SystemKit/CoreAPI.hxx')
-rw-r--r--Public/Kits/SystemKit/CoreAPI.hxx9
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))