partial rollback, might still not work
This commit is contained in:
@@ -446,13 +446,13 @@ obj c_generator (Object) {
|
||||
/*var base_name = vert->type_def.name*/
|
||||
var base_name = get_name(vert)
|
||||
plain_typedefs += string("typedef ")
|
||||
if (vert->type_def.is_union) {
|
||||
plain_typedefs += "union "
|
||||
structs += "union "
|
||||
} else {
|
||||
/*if (is_type_def(vert) && vert->type_def.is_union) {*/
|
||||
/*plain_typedefs += "union "*/
|
||||
/*structs += "union "*/
|
||||
/*} else {*/
|
||||
plain_typedefs += "struct "
|
||||
structs += "struct "
|
||||
}
|
||||
/*}*/
|
||||
plain_typedefs += base_name + "_dummy " + base_name + ";\n"
|
||||
structs += base_name + "_dummy {\n"
|
||||
if (is_type_def(vert)) {
|
||||
|
||||
Reference in New Issue
Block a user