2017-07-18 19:52:41 +00:00
|
|
|
// 4tech_standard_preamble.h
|
2017-01-23 06:19:43 +00:00
|
|
|
#if !defined(FTECH_INTEGERS)
|
|
|
|
#define FTECH_INTEGERS
|
|
|
|
#include <stdint.h>
|
2017-07-17 18:12:28 +00:00
|
|
|
typedef int8_t i8_4ed;
|
|
|
|
typedef int16_t i16_4ed;
|
|
|
|
typedef int32_t i32_4ed;
|
|
|
|
typedef int64_t i64_4ed;
|
2017-01-23 06:19:43 +00:00
|
|
|
|
2017-07-17 18:12:28 +00:00
|
|
|
typedef uint8_t u8_4ed;
|
|
|
|
typedef uint16_t u16_4ed;
|
|
|
|
typedef uint32_t u32_4ed;
|
|
|
|
typedef uint64_t u64_4ed;
|
2017-01-23 06:19:43 +00:00
|
|
|
|
2017-05-27 20:04:13 +00:00
|
|
|
#if defined(FTECH_32_BIT)
|
2017-07-17 18:12:28 +00:00
|
|
|
typedef u32_4ed umem_4ed;
|
2017-05-27 20:04:13 +00:00
|
|
|
#else
|
2017-07-17 18:12:28 +00:00
|
|
|
typedef u64_4ed umem_4ed;
|
2017-05-27 20:04:13 +00:00
|
|
|
#endif
|
2017-02-18 01:04:41 +00:00
|
|
|
|
2017-07-17 18:12:28 +00:00
|
|
|
typedef float f32_4ed;
|
|
|
|
typedef double f64_4ed;
|
2017-01-23 06:19:43 +00:00
|
|
|
|
2017-07-17 18:12:28 +00:00
|
|
|
typedef int8_t b8_4ed;
|
|
|
|
typedef int32_t b32_4ed;
|
2017-01-23 06:19:43 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined(Assert)
|
|
|
|
# define Assert(n) do{ if (!(n)) *(int*)0 = 0xA11E; }while(0)
|
|
|
|
#endif
|
|
|
|
// standard preamble end
|