| #include <stdarg.h> |
| #include <stdbool.h> |
| #include <stdint.h> |
| #include <stdlib.h> |
| |
| struct ABC { |
| float a; |
| uint32_t b; |
| uint32_t c; |
| }; |
| #define ABC_abc (ABC){ .a = 1.0, .b = 2, .c = 3 } |
| #define ABC_bac (ABC){ .a = 1.0, .b = 2, .c = 3 } |
| #define ABC_cba (ABC){ .a = 1.0, .b = 2, .c = 3 } |
| |
| struct BAC { |
| uint32_t b; |
| float a; |
| int32_t c; |
| }; |
| #define BAC_abc (BAC){ .b = 1, .a = 2.0, .c = 3 } |
| #define BAC_bac (BAC){ .b = 1, .a = 2.0, .c = 3 } |
| #define BAC_cba (BAC){ .b = 1, .a = 2.0, .c = 3 } |
| |
| void root(struct ABC a1, struct BAC a2); |