|
@ -76,14 +76,12 @@ extern "C" { |
|
|
// Struct containing array fields
|
|
|
// Struct containing array fields
|
|
|
// ------------------------------
|
|
|
// ------------------------------
|
|
|
// Caution: The array combinations are covered in a not entirely systematic way.
|
|
|
// Caution: The array combinations are covered in a not entirely systematic way.
|
|
|
// There are designated primitive structs that contain complete/incomplete array fields.
|
|
|
// There are designated primitive structs that contain complete array fields.
|
|
|
// BUT, the use of array fields has been scattered a bit randomly in an attempt to cover the most important
|
|
|
// BUT, the use of array fields has been scattered a bit randomly in an attempt to cover the most important
|
|
|
// combinations of struct fields:
|
|
|
// combinations of struct fields:
|
|
|
// - ia_P
|
|
|
|
|
|
// - a_P
|
|
|
// - a_P
|
|
|
// - a_PSa
|
|
|
// - a_PSa
|
|
|
// - aAPSa
|
|
|
// - aAPSa
|
|
|
// - iaACS
|
|
|
|
|
|
// - aACS
|
|
|
// - aACS
|
|
|
//
|
|
|
//
|
|
|
// So, a few of the possible field types are missing.
|
|
|
// So, a few of the possible field types are missing.
|
|
@ -147,14 +145,14 @@ typedef struct CS { |
|
|
// _CCS = complex complex struct without an alias
|
|
|
// _CCS = complex complex struct without an alias
|
|
|
struct _CCS { |
|
|
struct _CCS { |
|
|
struct _CS field__CS_1; |
|
|
struct _CS field__CS_1; |
|
|
ACS field_ACS_1[]; |
|
|
ACS field_ACS_1[3]; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
// CCS = complex complex struct
|
|
|
// CCS = complex complex struct
|
|
|
// ACCS = alias of a complex complex struct
|
|
|
// ACCS = alias of a complex complex struct
|
|
|
typedef struct CCS { |
|
|
typedef struct CCS { |
|
|
struct _CS field__CS_1; |
|
|
struct _CS field__CS_1; |
|
|
ACS field_ACS_1[]; |
|
|
ACS field_ACS_1[3]; |
|
|
} ACCS; |
|
|
} ACCS; |
|
|
|
|
|
|
|
|
// Nested structs
|
|
|
// Nested structs
|
|
|