libyasm
|
YASM preprocesor module interface. More...
#include <preproc.h>
Data Fields | |
const char * | name |
One-line description of the preprocessor. More... | |
const char * | keyword |
Keyword used to select preprocessor on the command line. More... | |
yasm_preproc *(* | create )(const char *in_filename, yasm_symtab *symtab, yasm_linemap *lm, yasm_errwarns *errwarns) |
Create preprocessor. More... | |
void(* | destroy )(yasm_preproc *preproc) |
Module-level implementation of yasm_preproc_destroy(). More... | |
char *(* | get_line )(yasm_preproc *preproc) |
Module-level implementation of yasm_preproc_get_line(). More... | |
size_t(* | get_included_file )(yasm_preproc *preproc, char *buf, size_t max_size) |
Module-level implementation of yasm_preproc_get_included_file(). More... | |
void(* | add_include_file )(yasm_preproc *preproc, const char *filename) |
Module-level implementation of yasm_preproc_add_include_file(). More... | |
void(* | predefine_macro )(yasm_preproc *preproc, const char *macronameval) |
Module-level implementation of yasm_preproc_predefine_macro(). More... | |
void(* | undefine_macro )(yasm_preproc *preproc, const char *macroname) |
Module-level implementation of yasm_preproc_undefine_macro(). More... | |
void(* | define_builtin )(yasm_preproc *preproc, const char *macronameval) |
Module-level implementation of yasm_preproc_builtin_define(). More... | |
void(* | add_standard )(yasm_preproc *preproc, const char **macros) |
Module-level implementation of yasm_preproc_add_standard(). More... | |
void(* yasm_preproc_module::add_include_file)(yasm_preproc *preproc, const char *filename) |
Module-level implementation of yasm_preproc_add_include_file().
Call yasm_preproc_add_include_file() instead of calling this function.
void(* yasm_preproc_module::add_standard)(yasm_preproc *preproc, const char **macros) |
Module-level implementation of yasm_preproc_add_standard().
Call yasm_preproc_add_standard() instead of calling this function.
yasm_preproc*(* yasm_preproc_module::create)(const char *in_filename, yasm_symtab *symtab, yasm_linemap *lm, yasm_errwarns *errwarns) |
Create preprocessor.
Module-level implementation of yasm_preproc_create(). Call yasm_preproc_create() instead of calling this function.
in_filename | initial starting filename, or "-" to read from stdin |
symtab | symbol table (may be NULL if none) |
lm | line mapping repository |
errwarns | error/warnning set. |
void(* yasm_preproc_module::define_builtin)(yasm_preproc *preproc, const char *macronameval) |
void(* yasm_preproc_module::destroy)(yasm_preproc *preproc) |
Module-level implementation of yasm_preproc_destroy().
Call yasm_preproc_destroy() instead of calling this function.
size_t(* yasm_preproc_module::get_included_file)(yasm_preproc *preproc,char *buf, size_t max_size) |
Module-level implementation of yasm_preproc_get_included_file().
Call yasm_preproc_get_included_file() instead of calling this function.
char*(* yasm_preproc_module::get_line)(yasm_preproc *preproc) |
Module-level implementation of yasm_preproc_get_line().
Call yasm_preproc_get_line() instead of calling this function.
const char* yasm_preproc_module::keyword |
const char* yasm_preproc_module::name |
void(* yasm_preproc_module::predefine_macro)(yasm_preproc *preproc, const char *macronameval) |
Module-level implementation of yasm_preproc_predefine_macro().
Call yasm_preproc_predefine_macro() instead of calling this function.
void(* yasm_preproc_module::undefine_macro)(yasm_preproc *preproc, const char *macroname) |
Module-level implementation of yasm_preproc_undefine_macro().
Call yasm_preproc_undefine_macro() instead of calling this function.