jwiegley / c2hsc

Utility for creating .hsc files from C API header files
BSD 3-Clause "New" or "Revised" License
26 stars 15 forks source link

Arrays of anonymous structs need a generated name #21

Open jwiegley opened 10 years ago

jwiegley commented 10 years ago

Example:

{- struct cal_table {
    int size;
    struct {
        int raw; int val;
    } table[32];
}; -}
#starttype struct cal_table
#field size , CInt
#array_field table , 
#stoptype