blob: fc0c91df44e9a56cd40922c0cc08017f1680fac4 (
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
|
/*
* defs.h
*
* Created on: 13.01.2018
* Author: Superleo1810
*/
#ifndef DEFS_H_
#define DEFS_H_
#include <stdio.h>
#ifndef NULL
#define NULL 0
#endif
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
// Rendering modes, u8
#define MODE_CPU 0
#define MODE_OPENCL 1
typedef unsigned char u8;
typedef signed char s8;
typedef unsigned short int u16;
typedef signed short int s16;
typedef unsigned long int u32;
typedef signed long int s32;
typedef unsigned long long u64;
typedef signed long long s64;
typedef long double d64;
//typedef u8 bool;
#endif /* DEFS_H_ */
|