my struct is some like this
typedef struct { type1 thing; type2 thing2; ... typeN thingN; } my_struct
how to enumerate struct chil
There's no way to iterate through struct members in C language, regardless of whether the have the same size/type or different sizes/types.