37 typedef struct yasm_objfmt_base {
188 (
yasm_object *
object,
const char *name,
const char *parser);
194 #define yasm_objfmt_create(module, object) module->create(object)
196 #define yasm_objfmt_output(object, f, all_syms, ews) \
197 ((yasm_objfmt_base *)((object)->objfmt))->module->output \
198 (object, f, all_syms, ews)
199 #define yasm_objfmt_destroy(objfmt) \
200 ((yasm_objfmt_base *)objfmt)->module->destroy(objfmt)
201 #define yasm_objfmt_section_switch(object, vpms, oe_vpms, line) \
202 ((yasm_objfmt_base *)((object)->objfmt))->module->section_switch \
203 (object, vpms, oe_vpms, line)
204 #define yasm_objfmt_add_default_section(object) \
205 ((yasm_objfmt_base *)((object)->objfmt))->module->add_default_section \
207 #define yasm_objfmt_init_new_section(section, line) \
208 ((yasm_objfmt_base *)((object)->objfmt))->module->init_new_section \
210 #define yasm_objfmt_get_special_sym(object, name, parser) \
211 ((yasm_objfmt_base *)((object)->objfmt))->module->get_special_sym \
212 (object, name, parser)