summaryrefslogtreecommitdiff
path: root/tables.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-19 15:04:18 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-19 15:04:18 -0700
commitd2456590fc2216fd871ae566c9478176024d2e45 (patch)
tree0bf01b205495249c295913640ac70a111ff2fbd0 /tables.h
parent9dee352dee05eb26da8f867cc0cbb429e5e8d9a1 (diff)
downloadnasm-d2456590fc2216fd871ae566c9478176024d2e45.tar.gz
nasm-d2456590fc2216fd871ae566c9478176024d2e45.tar.bz2
nasm-d2456590fc2216fd871ae566c9478176024d2e45.zip
preproc: add support for builtin include modules (%use)
Add a builtin equivalent to the %include directive called %use. %use includes a standard macro file compiled into the binary; these come from the macros/ directory in the source code. The idea here is to be able to provide optional macro packages with the distribution, without adding complex host filesystem dependencies.
Diffstat (limited to 'tables.h')
-rw-r--r--tables.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tables.h b/tables.h
index 0ac0ae6..f4d9a77 100644
--- a/tables.h
+++ b/tables.h
@@ -15,7 +15,8 @@
/* macros.c */
extern const char * const nasm_stdmac[];
-extern const char * const * nasm_stdmac_after_tasm;
+extern const char * const * const nasm_stdmac_after_tasm;
+const char * const *nasm_stdmac_find_module(const char *);
/* --- From insns.dat via insns.pl: --- */