4coder/string/4tech_standard_preamble.h

32 lines
647 B
C
Raw Normal View History

// 4tech_standard_preamble.h
#if !defined(FTECH_INTEGERS)
#define FTECH_INTEGERS
#include <stdint.h>
2018-05-09 05:22:33 +00:00
typedef int8_t i8_4tech;
typedef int16_t i16_4tech;
typedef int32_t i32_4tech;
typedef int64_t i64_4tech;
2018-05-09 05:22:33 +00:00
typedef uint8_t u8_4tech;
typedef uint16_t u16_4tech;
typedef uint32_t u32_4tech;
typedef uint64_t u64_4tech;
2017-05-27 20:04:13 +00:00
#if defined(FTECH_32_BIT)
2018-05-09 05:22:33 +00:00
typedef u32_4tech umem_4tech;
2017-05-27 20:04:13 +00:00
#else
2018-05-09 05:22:33 +00:00
typedef u64_4tech umem_4tech;
2017-05-27 20:04:13 +00:00
#endif
2017-02-18 01:04:41 +00:00
2018-05-09 05:22:33 +00:00
typedef float f32_4tech;
typedef double f64_4tech;
2018-05-09 05:22:33 +00:00
typedef int8_t b8_4tech;
typedef int32_t b32_4tech;
#endif
#if !defined(Assert)
# define Assert(n) do{ if (!(n)) *(int*)0 = 0xA11E; }while(0)
#endif
// standard preamble end