36 #ifndef __SAGITTARIUS_BASEWORDS_H_
37 #define __SAGITTARIUS_BASEWORDS_H_
62 typedef uint8_t uint8;
64 typedef int16_t int16;
65 typedef uint16_t uint16;
67 #define SG_UINT16_MAX 65535
72 typedef int32_t int32;
73 typedef uint32_t uint32;
75 typedef int64_t int64;
76 typedef uint64_t uint64;
86 typedef unsigned char uchar8;
88 #define INT64_LOW_MASK 0x00000000FFFFFFFF
89 #define INT64_HIGH_MASK 0xFFFFFFFF00000000
92 #if SAGITTARIUS_ARCH == SAGITTARIUS_ARCH_64
93 #define SG_POINTER_UINT uint64
94 #elif SAGITTARIUS_ARCH == SAGITTARIUS_ARCH_64
95 #define SG_POINTER_UINT uint32
100 #define true 1 //don't rely on if(b == true), use if(b) instead
103 #define sg_casbool sg_cas32
Common required definitions.