1 #include <inttypes.h> 2 typedef uint32_t mpers_ptr_t; 3 typedef 4 struct { 5 struct { 6 mpers_ptr_t p; 7 char sc; 8 unsigned char mpers_filler_1[1]; 9 int16_t ss; 10 unsigned char uc; 11 unsigned char mpers_filler_2[3]; 12 int32_t si; 13 uint32_t ui; 14 int32_t sl; 15 uint16_t us; 16 unsigned char mpers_filler_3[6]; 17 int64_t sll; 18 uint64_t ull; 19 uint32_t ul; 20 int32_t asl[3]; 21 char f; 22 unsigned char mpers_end_filler_4[7]; 23 } ATTRIBUTE_PACKED s; 24 union { 25 int64_t sll; 26 uint64_t ull; 27 mpers_ptr_t p; 28 int32_t sl; 29 uint32_t ul; 30 int32_t si; 31 uint32_t ui; 32 int16_t ss; 33 uint16_t us; 34 char sc; 35 unsigned char uc; 36 } u[3]; 37 int16_t f[0]; 38 } ATTRIBUTE_PACKED m32_sample_struct; 39 #define MPERS_m32_sample_struct m32_sample_struct 40