Create a typedef for obj_module_t.

This commit is contained in:
Bill Currie 2011-02-03 18:05:46 +09:00
parent b07392b818
commit 12d8658ece
2 changed files with 4 additions and 1 deletions

View file

@ -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 *

View file

@ -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);