mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
because builtin functions now get their params dumped to the debug symbols, @va_list needs to be initialized.
This commit is contained in:
parent
48449a972f
commit
4c4281c512
1 changed files with 5 additions and 5 deletions
|
@ -788,6 +788,11 @@ chain_initial_types (void)
|
|||
chain_type (&type_param);
|
||||
chain_type (&type_zero);
|
||||
|
||||
strct = calloc (sizeof (struct_t), 1);
|
||||
init_struct (strct, &type_va_list, str_struct, 0);
|
||||
new_struct_field (strct, &type_integer, "count", vis_public);
|
||||
new_struct_field (strct, pointer_type (&type_param), "list", vis_public);
|
||||
|
||||
if (options.traditional)
|
||||
return;
|
||||
|
||||
|
@ -811,11 +816,6 @@ chain_initial_types (void)
|
|||
type_supermsg.parm_types[0] = &type_Super;
|
||||
chain_type (&type_supermsg);
|
||||
|
||||
strct = calloc (sizeof (struct_t), 1);
|
||||
init_struct (strct, &type_va_list, str_struct, 0);
|
||||
new_struct_field (strct, &type_integer, "count", vis_public);
|
||||
new_struct_field (strct, pointer_type (&type_param), "list", vis_public);
|
||||
|
||||
strct = get_struct ("obj_module_s", 1);
|
||||
init_struct (strct, new_type (), str_struct, 0);
|
||||
new_struct_field (strct, &type_integer, "version", vis_public);
|
||||
|
|
Loading…
Reference in a new issue