Go to the documentation of this file.
30 #ifndef YASM_PREPROC_H
31 #define YASM_PREPROC_H
37 typedef struct yasm_preproc_base {
144 char *buf,
size_t max_size);
151 const char *filename);
158 const char *macronameval);
171 const char *macronameval);
179 const char **macros);
185 #define yasm_preproc_create(module, in_filename, symtab, lm, ews) \
186 module->create(in_filename, symtab, lm, ews)
188 #define yasm_preproc_destroy(preproc) \
189 ((yasm_preproc_base *)preproc)->module->destroy(preproc)
190 #define yasm_preproc_get_line(preproc) \
191 ((yasm_preproc_base *)preproc)->module->get_line(preproc)
192 #define yasm_preproc_get_included_file(preproc, buf, max_size) \
193 ((yasm_preproc_base *)preproc)->module->get_included_file(preproc, buf, max_size)
194 #define yasm_preproc_add_include_file(preproc, filename) \
195 ((yasm_preproc_base *)preproc)->module->add_include_file(preproc, filename)
196 #define yasm_preproc_predefine_macro(preproc, macronameval) \
197 ((yasm_preproc_base *)preproc)->module->predefine_macro(preproc, \
199 #define yasm_preproc_undefine_macro(preproc, macroname) \
200 ((yasm_preproc_base *)preproc)->module->undefine_macro(preproc, macroname)
201 #define yasm_preproc_define_builtin(preproc, macronameval) \
202 ((yasm_preproc_base *)preproc)->module->define_builtin(preproc, \
204 #define yasm_preproc_add_standard(preproc, macros) \
205 ((yasm_preproc_base *)preproc)->module->add_standard(preproc, \