45 #if defined(_MSC_VER) && defined(_WIN32) 50 #define YY_NO_UNISTD_H 1 61 #define FCML_TEXT(x) x 62 #define _FT(x) FCML_TEXT(x) 66 #define FCML_PRI_INT8_DEC "%d" 67 #define FCML_PRI_INT16_DEC "%d" 68 #define FCML_PRI_INT32_DEC "%d" 69 #define FCML_PRI_INT64_DEC "%lld" 71 #define FCML_PRI_UINT8_DEC "%u" 72 #define FCML_PRI_UINT16_DEC "%u" 73 #define FCML_PRI_UINT32_DEC "%u" 74 #define FCML_PRI_UINT64_DEC "%llu" 76 #define FCML_PRI_INT8_HEX "%02x" 77 #define FCML_PRI_INT16_HEX "%04x" 78 #define FCML_PRI_INT32_HEX "%08x" 79 #define FCML_PRI_INT64_HEX "%016llx" 81 #define FCML_PRI_INT8_HEX_NO_ZEROS "%x" 82 #define FCML_PRI_INT16_HEX_NO_ZEROS "%x" 83 #define FCML_PRI_INT32_HEX_NO_ZEROS "%x" 84 #define FCML_PRI_INT64_HEX_NO_ZEROS "%llx" 87 typedef int fcml_bool;
88 typedef __int8 fcml_int8_t;
89 typedef unsigned __int8 fcml_uint8_t;
90 typedef __int16 fcml_int16_t;
91 typedef unsigned __int16 fcml_uint16_t;
92 typedef __int32 fcml_int32_t;
93 typedef unsigned __int32 fcml_uint32_t;
94 typedef __int64 fcml_int64_t;
95 typedef unsigned __int64 fcml_uint64_t;
98 #define FCML_INT64_MAX _I64_MAX 99 #define FCML_INT64_MIN _I64_MIN 100 #define FCML_INT32_MAX INT_MAX 101 #define FCML_INT32_MIN INT_MIN 102 #define FCML_INT16_MAX SHRT_MAX 103 #define FCML_INT16_MIN SHRT_MIN 104 #define FCML_INT8_MAX SCHAR_MAX 105 #define FCML_INT8_MIN SCHAR_MIN 108 #define FCML_UINT8_MAX UCHAR_MAX 109 #define FCML_UINT16_MAX USHRT_MAX 110 #define FCML_UINT32_MAX UINT_MAX 111 #define FCML_UINT64_MAX _UI64_MAX 116 #define FCML_PRI_INT8_DEC "%" PRId8 119 #define FCML_PRI_INT16_DEC "%" PRId16 122 #define FCML_PRI_INT32_DEC "%" PRId32 125 #define FCML_PRI_INT64_DEC "%" PRId64 129 #define FCML_PRI_UINT8_DEC "%" PRIu8 132 #define FCML_PRI_UINT16_DEC "%" PRIu16 135 #define FCML_PRI_UINT32_DEC "%" PRIu32 138 #define FCML_PRI_UINT64_DEC "%" PRIu64 142 #define FCML_PRI_INT8_HEX "%02" PRIx8 145 #define FCML_PRI_INT16_HEX "%04" PRIx16 148 #define FCML_PRI_INT32_HEX "%08" PRIx32 151 #define FCML_PRI_INT64_HEX "%016" PRIx64 155 #define FCML_PRI_INT8_HEX_NO_ZEROS "%" PRIx8 158 #define FCML_PRI_INT16_HEX_NO_ZEROS "%" PRIx16 161 #define FCML_PRI_INT32_HEX_NO_ZEROS "%" PRIx32 164 #define FCML_PRI_INT64_HEX_NO_ZEROS "%" PRIx64 167 typedef int fcml_int;
168 typedef unsigned int fcml_uint;
169 typedef int fcml_bool;
170 typedef int8_t fcml_int8_t;
171 typedef uint8_t fcml_uint8_t;
172 typedef int16_t fcml_int16_t;
173 typedef uint16_t fcml_uint16_t;
174 typedef int32_t fcml_int32_t;
175 typedef uint32_t fcml_uint32_t;
176 typedef int64_t fcml_int64_t;
177 typedef uint64_t fcml_uint64_t;
180 #define FCML_INT64_MAX INT64_MAX 181 #define FCML_INT64_MIN INT64_MIN 182 #define FCML_INT32_MAX INT32_MAX 183 #define FCML_INT32_MIN INT32_MIN 184 #define FCML_INT16_MAX INT16_MAX 185 #define FCML_INT16_MIN INT16_MIN 186 #define FCML_INT8_MAX INT8_MAX 187 #define FCML_INT8_MIN INT8_MIN 190 #define FCML_UINT8_MAX UINT8_MAX 191 #define FCML_UINT16_MAX UINT16_MAX 192 #define FCML_UINT32_MAX UINT32_MAX 193 #define FCML_UINT64_MAX UINT64_MAX 197 typedef char fcml_char;
198 #define fcml_string char* 199 typedef float fcml_float;
200 typedef void* fcml_ptr;
201 typedef fcml_uint32_t fcml_flags;
203 typedef fcml_uint32_t fcml_usize;
204 typedef fcml_int32_t fcml_size;
211 #define FCML_TP_SET_BIT(x,y) ( ( x ) | ( 0x01 << ( y ) ) ) 212 #define FCML_TP_GET_BIT(x,y) ( ( x >> y ) & 0x01 ) 213 #define FCML_TP_CLEAR_BIT(x,y) ( ( x ) &= ~( 1 << ( y ) ) ) 219 fcml_bool is_not_null;
224 fcml_bool is_not_null;
229 fcml_bool is_not_null;
234 fcml_bool is_not_null;
239 fcml_bool is_not_null;
244 fcml_bool is_not_null;
249 fcml_bool is_not_null;
254 fcml_bool is_not_null;
267 #define FCML_SET_VALUE(x, y) x.value = y; x.is_not_null = FCML_TRUE; 268 #define FCML_SET_NULL(x) x.value = 0; x.is_not_null = FCML_FALSE; 269 #define FCML_IS_NULL(x) ((x).is_not_null == FCML_FALSE) Definition: fcml_types.h:242
Definition: fcml_types.h:217
Definition: fcml_types.h:252
Definition: fcml_types.h:232
Handles Win32 DLL symbols importing/exporting.
Definition: fcml_types.h:227
Definition: fcml_types.h:237
Definition: fcml_types.h:257
Definition: fcml_types.h:247
Definition: fcml_types.h:222