repo.or.cz
/
cgperf.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initial commit
[cgperf.git]
/
c_fixing.h
blob
a581cb0d698cf4fad768d2e1d76eba8cd95ba620
1
#ifndef C_FIXING_H
2
#define C_FIXING_H
3
#include <stdint.h>
4
#include <limits.h>
5
#define u8 uint8_t
6
#define u32 uint32_t
7
#define U32_MIN UINT_MIN
8
#define U32_MAX UINT_MAX
9
#define u64 uint64_t
10
#define s32 int32_t
11
#define S32_MIN INT_MIN
12
#define S32_MAX INT_MAX
13
#define f32 float
14
#define f64 double
15
#define loop for(;;)
16
#endif