forked from boqs/pd-grid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.h
26 lines (20 loc) · 774 Bytes
/
types.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
#ifndef _ALEPH_TYPES_H_
#define _ALEPH_TYPES_H_
#include <stdint.h>
#include <stdbool.h>
#ifndef NULL
#define NULL 0
#endif
//---- basic numerical datatypes
typedef int8_t s8 ; //!< 8-bit signed integer.
typedef uint8_t u8 ; //!< 8-bit unsigned integer.
typedef int16_t s16; //!< 16-bit signed integer.
typedef uint16_t u16; //!< 16-bit unsigned integer.
typedef int32_t s32; //!< 32-bit signed integer.
typedef uint32_t u32; //!< 32-bit unsigned integer.
typedef int64_t s64; //!< 64-bit signed integer.
typedef uint64_t u64; //!< 64-bit unsigned integer.
typedef float f32; //!< 32-bit floating-point number.
typedef double f64; //!< 64-bit floating-point number.
typedef s16 io_t;
#endif // header guard