32 lines
502 B
C
32 lines
502 B
C
|
|
// LCZ libraries v0.1b
|
||
|
|
|
||
|
|
#ifndef _LCZ_TYPES_H_
|
||
|
|
#define _LCZ_TYPES_H_
|
||
|
|
|
||
|
|
#include <stdint.h>
|
||
|
|
#include <stdbool.h>
|
||
|
|
|
||
|
|
// Standard types with better names
|
||
|
|
typedef int8_t s8;
|
||
|
|
typedef int16_t s16;
|
||
|
|
typedef int32_t s32;
|
||
|
|
typedef int64_t s64;
|
||
|
|
|
||
|
|
typedef uint8_t u8;
|
||
|
|
typedef uint16_t u16;
|
||
|
|
typedef uint32_t u32;
|
||
|
|
typedef uint64_t u64;
|
||
|
|
|
||
|
|
typedef float f32;
|
||
|
|
typedef double f64;
|
||
|
|
|
||
|
|
|
||
|
|
// Status code for error managemet
|
||
|
|
enum StatusCode {
|
||
|
|
STATUS_ERR = 0,
|
||
|
|
STATUS_OK = 1
|
||
|
|
};
|
||
|
|
typedef enum StatusCode StatusCode;
|
||
|
|
|
||
|
|
#endif
|