blob: fa5e8eef639d079b67a2ef8f9184b078dff52472 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/*
* ========================================================
*
* h-core
* Copyright Mahrouss Logic, all rights reserved.
*
* ========================================================
*/
#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))
|