blob: 284efb6e1edaeb1f0bbf281a80de2668291fa01d (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
/* -------------------------------------------
Copyright (C) 2024, t& Corporation, all rights reserved.
File: Macros.h
Purpose: LibSCI Macros header.
------------------------------------------- */
#pragma once
/***********************************************************************************/
/// @file LibSCI/Macros.h
/// @brief Macros and core types.
/***********************************************************************************/
#include <CompilerHint.h>
#define ATTRIBUTE(X) __attribute__((X))
#define IMPORT_CXX extern "C++"
#define IMPORT_C extern "C"
#define DEPRECATED ATTRIBUTE(deprecated)
typedef bool Bool;
typedef void Void;
typedef __UINT64_TYPE__ UInt64;
typedef __UINT32_TYPE__ UInt32;
typedef __UINT16_TYPE__ UInt16;
typedef __UINT8_TYPE__ UInt8;
typedef __SIZE_TYPE__ SizeT;
typedef __INT64_TYPE__ SInt64;
typedef __INT32_TYPE__ SInt32;
typedef __INT16_TYPE__ SInt16;
typedef __INT8_TYPE__ SInt8;
typedef void* VoidPtr;
typedef __UINTPTR_TYPE__ UIntPtr;
typedef char Char;
typedef VoidPtr SCIObject;
typedef SCIObject IOObject;
typedef IOObject FSObject;
typedef SCIObject DLLObject;
typedef SCIObject ThreadObject;
typedef SCIObject SocketObject;
|