fix some method list emission bugs

This commit is contained in:
Bill Currie 2002-05-31 06:00:11 +00:00
parent d85a238af2
commit 24e7a88719

View file

@ -301,7 +301,8 @@ emit_methods (methodlist_t *_methods, const char *name, int instance)
ReuseString (method->types); ReuseString (method->types);
methods->method_list[i].method_types = methods->method_list[i].method_types =
methods->method_list[i].method_name.sel_types; methods->method_list[i].method_name.sel_types;
methods->method_list[i].method_imp = method->def->ofs; methods->method_list[i].method_imp = G_FUNCTION (method->def->ofs);
i++;
} }
return methods_def->ofs; return methods_def->ofs;
} }