31 lines
No EOL
554 B
C
31 lines
No EOL
554 B
C
#ifndef BASTD_C
|
|
#define BASTD_C
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef int8_t I8;
|
|
typedef int16_t I16;
|
|
typedef int32_t I32;
|
|
typedef int64_t I64;
|
|
typedef uint8_t U8;
|
|
typedef uint16_t U16;
|
|
typedef uint32_t U32;
|
|
typedef uint64_t U64;
|
|
|
|
typedef float F32;
|
|
typedef double F64;
|
|
|
|
typedef U32 B32;
|
|
#define TRUE 1
|
|
#define FALSE 0
|
|
|
|
#define FUNCTION static
|
|
#define GLOBAL_VAR static
|
|
#define LOCAL_PERSIST static
|
|
|
|
#define STMNT(s) do{ s }while(0)
|
|
|
|
// TODO: Add Linux Version
|
|
#define ASSERT(x, msg) STMNT(if (!x) __debugbreak();)
|
|
|
|
#endif //BASTD_C
|