
7.10 The C structure
datatype c_decl = UNDEF_DECL | VAR_DECL of { name : name, ctype : c_type } | FUN_DECL of { name : name, source : c_type list, target : c_type } | TYPE_DECL of { name : name, defn : c_type, size : int } | CONST_DECL of { name : name, ctype : c_type }
UNDEF_DECLNONE and SOME) for wrapping and unwrapping these values.
VAR_DECL of { name : name, ctype : c_type }
FUN_DECL of { name : name, source : c_type list, target : c_type }
TYPE_DECL of { name : name, defn : c_type, size : int }
typedef and struct/union/enum declarations) can be recorded in this form. The associated type and size information may be updated and modified.
CONST_DECL of { name : name, ctype : c_type }
#define constants can be recorded in this form.

Generated with Harlequin WebMaker