summaryrefslogtreecommitdiffstats
path: root/include/type.h
blob: 1106832a12212898b954acec6450a8024cbcde39 (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
// type.h - Common type aliases
//
// Used across header libraries to provide consistent, concise type names
// for fixed-width integers and floating point types.

#ifndef TYPE_H
#define TYPE_H

#include <stdint.h>

typedef double f64;
typedef float f32;

typedef int8_t i8;
typedef int16_t i16;
typedef int32_t i32;
typedef int64_t i64;

typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;

#endif