Initial commit

This commit is contained in:
2024-04-27 11:20:46 +02:00
commit 648178bce9
10 changed files with 2823 additions and 0 deletions

31
types.h Normal file
View File

@@ -0,0 +1,31 @@
// 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