compiler.h: add offsetof() and container_of()
[nasm/perl-rewrite.git] / tables.h
blobb71d586bcd757c8c635369e5f78337b6761ff5b0
1 /*
2 * tables.h
4 * Declarations for auto-generated tables
5 */
7 #ifndef TABLES_H
8 #define TABLES_H
10 #include "compiler.h"
11 #include <inttypes.h>
12 #include "insnsi.h" /* For enum opcode */
14 /* --- From standard.mac via macros.pl: --- */
16 /* macros.c */
17 extern const unsigned char nasm_stdmac[];
18 extern const unsigned char * const nasm_stdmac_after_tasm;
19 const unsigned char *nasm_stdmac_find_package(const char *);
21 /* --- From insns.dat via insns.pl: --- */
23 /* insnsn.c */
24 extern const char * const nasm_insn_names[];
26 /* --- From regs.dat via regs.pl: --- */
28 /* regs.c */
29 extern const char * const nasm_reg_names[];
30 /* regflags.c */
31 extern const int32_t nasm_reg_flags[];
32 /* regvals.c */
33 extern const int nasm_regvals[];
35 #endif /* TABLES_H */