project_files/hwc/rtl/pas2c.h
changeset 10128 0f6878b5395a
parent 10127 7f29a65aa1e4
child 10131 4b4a043111f4
equal deleted inserted replaced
10127:7f29a65aa1e4 10128:0f6878b5395a
     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 #define MAX_ANSISTRING_LENGTH 16383
    11 
    11 
    12 typedef union string255_
    12 typedef union string255_
    13     {
    13     {
    14         struct {
    14         struct {
    15             unsigned char s[256];
    15             unsigned char s[256];
    26             unsigned char _dummy1;
    26             unsigned char _dummy1;
    27             string255 str255;
    27             string255 str255;
    28         };
    28         };
    29         struct {
    29         struct {
    30             unsigned char _dummy2;
    30             unsigned char _dummy2;
    31             unsigned char s[MAX_ANSISTRING_LENGTH];
    31             unsigned char s[MAX_ANSISTRING_LENGTH + 1];
    32         };
    32         };
    33         struct {
    33         struct {
    34             uint16_t len;
    34             uint16_t len;
    35         };
    35         };
    36     } astring;
    36     } astring;