wrap_c: add immutable_structs option