-
Notifications
You must be signed in to change notification settings - Fork 0
/
Common.h
36 lines (29 loc) · 809 Bytes
/
Common.h
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
#ifndef INCLUDE_UTILITIES_COMMON
#define INCLUDE_UTILITIES_COMMON
#include <SAL/Common.h>
#ifdef WINDOWS
#define export __declspec(dllexport)
#elif defined __clang__ || defined __GNUC__
#define export __attribute__((visibility ("default")))
#endif
#define true 1
#define false 0
#define NULL 0
typedef long long int64;
typedef int int32;
typedef short int16;
typedef char int8;
typedef unsigned long long uint64;
typedef unsigned int uint32;
typedef unsigned short uint16;
typedef unsigned char uint8;
typedef double float64;
typedef float float32;
typedef int8 boolean;
#include "Memory.h"
#ifdef NDEBUG
#define assert(expression) ((void)0)
#else
#define assert(expression) (void)( (!!(expression)) || true) /*(logger(#expression, __FILE__, __LINE__), 0) ) we need to make logger*/
#endif
#endif