#ifndef FURIX_TYPES_H #define FURIX_TYPES_H typedef signed char int8_t; typedef unsigned char uint8_t; typedef signed short int16_t; typedef unsigned short uint16_t; typedef signed int int32_t; typedef unsigned int uint32_t; typedef signed long long int64_t; typedef unsigned long long uint64_t; _Static_assert(sizeof(uint8_t) == 1, "bad uint8_t"); _Static_assert(sizeof(uint16_t) == 2, "bad uint16_t"); _Static_assert(sizeof(uint32_t) == 4, "bad uint32_t"); _Static_assert(sizeof(uint64_t) == 8, "bad uint64_t"); typedef _Bool bool; #define true 1 #define false 0 #define offsetof(type, member) __builtin_offsetof(type, member) #define NULL ((void *)0) #endif /* FURIX_TYPES_H */