mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Create a typedef for obj_module_t.
This commit is contained in:
parent
b07392b818
commit
12d8658ece
2 changed files with 4 additions and 1 deletions
|
@ -118,6 +118,10 @@ class_init (void)
|
|||
class_Class.super_class = get_class (sym = new_symbol ("Object"), 1);
|
||||
class_Class.methods = new_methodlist ();
|
||||
symtab_addsymbol (pr.symtab, sym);
|
||||
|
||||
sym = new_symbol_type ("obj_module_t", &type_module);
|
||||
sym->sy_type = sy_type;
|
||||
symtab_addsymbol (pr.symtab, sym);
|
||||
}
|
||||
|
||||
symbol_t *
|
||||
|
|
|
@ -1074,7 +1074,6 @@ chain_initial_types (void)
|
|||
chain_type (&type_supermsg);
|
||||
|
||||
make_structure ("obj_module_s", 's', module_struct, &type_module);
|
||||
//new_typedef ("obj_module_t", type_module);
|
||||
chain_type (&type_module);
|
||||
|
||||
type_obj_exec_class.t.func.param_types[0] = pointer_type (&type_module);
|
||||
|
|
Loading…
Reference in a new issue