summaryrefslogtreecommitdiff
path: root/src/typedef.h
blob: 97b17da1eaf8eb57bdcb9e7cca0a0230c0b52778 (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
//|_   _   _.     _  ._  |_   _.  _ |
//| | (/_ (_| \/ (/_ | | | | (_| (_ |<

#pragma once
#ifdef __cplusplus
#include <vector>
template<typename t>
using VECTOR = std::vector<t>;
#endif

typedef char      I8;
typedef short     I16;
typedef int       I32;
typedef long long I64;

typedef unsigned char      U8;
typedef unsigned short     U16;
typedef unsigned int       U32;
typedef unsigned long long U64;

typedef float  F32;
typedef double F64;

typedef unsigned long PTR;


#define assert( x ) if( !x ) con_set_assert( "ASSERTION FAILED: %s() (line: %d)", __func__, __LINE__ )
#define pause() system( "pause" )