let get_struct_name = function | TComp(compinfo,_,_) -> compinfo.cname | _ -> Jessie_options.fatal "non-struct (name)"