Files
wg_utils/types.h

32 lines
502 B
C
Raw Normal View History

2024-04-27 11:20:46 +02:00
// 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