equal
deleted
inserted
replaced
5 #include <stdbool.h> |
5 #include <stdbool.h> |
6 #include <wchar.h> |
6 #include <wchar.h> |
7 #include <math.h> |
7 #include <math.h> |
8 |
8 |
9 #define MAX_PARAMS 64 |
9 #define MAX_PARAMS 64 |
|
10 #define MAX_ANSISTRING_LENGTH 16384 |
10 |
11 |
11 typedef union string255_ |
12 typedef union string255_ |
12 { |
13 { |
13 struct { |
14 struct { |
14 unsigned char s[257]; |
15 unsigned char s[256]; |
15 }; |
16 }; |
16 struct { |
17 struct { |
17 unsigned char len; |
18 unsigned char len; |
18 unsigned char str[256]; |
19 unsigned char str[255]; |
19 }; |
20 }; |
20 } string255; |
21 } string255; |
21 typedef struct string192_ |
22 |
|
23 typedef union astring_ |
22 { |
24 { |
23 unsigned char s[193]; |
25 struct { |
24 } string192; |
26 unsigned char _dummy1; |
25 typedef struct string31_ |
27 string255 str255; |
26 { |
28 }; |
27 unsigned char s[32]; |
29 struct { |
28 } string31; |
30 unsigned char _dummy2; |
29 typedef struct string15_ |
31 unsigned char str[MAX_ANSISTRING_LENGTH]; |
30 { |
32 }; |
31 unsigned char s[16]; |
33 struct { |
32 } string15; |
34 uint16_t len; |
|
35 }; |
|
36 } astring; |
33 |
37 |
34 typedef string255 shortstring; |
38 typedef string255 shortstring; |
35 typedef string255 ansistring; |
|
36 |
39 |
37 typedef uint8_t Byte; |
40 typedef uint8_t Byte; |
38 typedef int8_t ShortInt; |
41 typedef int8_t ShortInt; |
39 typedef uint16_t Word; |
42 typedef uint16_t Word; |
40 typedef int16_t SmallInt; |
43 typedef int16_t SmallInt; |