blob: 64373987e4ccf80a87b7d719d7db3d749f32dffd (
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
27
28
29
30
31
|
/*
* ========================================================
*
* 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))
#define MSCALL __attribute__((ms_abi))
typedef __UINT16_TYPE__ WORD;
typedef __UINT32_TYPE__ DWORD;
typedef __UINT64_TYPE__ QWORD;
|