[qfcc] Correct order of @zero fields

This is part of what messed up float_val in the encoding for @params.
The other part is something in the linker type encoding merge code: it
may be too aggressive. It's also what messed up the size of @params.
This commit is contained in:
Bill Currie 2020-03-14 22:04:33 +09:00
parent 9492f08536
commit 327d692992

View file

@ -937,7 +937,6 @@ init_types (void)
{
static struct_def_t zero_struct[] = {
{"string_val", &type_string},
{"double_val", &type_double},
{"float_val", &type_float},
{"entity_val", &type_entity},
{"field_val", &type_field},
@ -949,6 +948,7 @@ init_types (void)
{"integer_val", &type_integer},
{"uinteger_val", &type_uinteger},
{"quaternion_val", &type_quaternion},
{"double_val", &type_double},
{0, 0}
};
static struct_def_t param_struct[] = {