#ifndef _PIUMA_LIB_TYPES_H_
#define _PIUMA_LIB_TYPES_H_

#include <stdint.h>
#include <stddef.h>

// Integers
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;

// Real numbers
typedef float    f32;
typedef double   f64;

// Binary
typedef u8  b8;
typedef u16 b16;
typedef u32 b32;
typedef u64 b64;


// Buffer
struct Buffer
{
	u64 size;
	u8 *data;
};

struct String
{
	u64 size;
	u8 *text;
};

#endif
