Add copyright notice to insns.dat
[nasm.git] / output / nulldbg.c
blobe1b13e87d7318af0819209f65ddc3605549442f3
1 #include "nasm.h"
2 #include "nasmlib.h"
4 void null_debug_init(struct ofmt *of, void *id, FILE * fp, efunc error)
6 (void)of;
7 (void)id;
8 (void)fp;
9 (void)error;
11 void null_debug_linenum(const char *filename, int32_t linenumber, int32_t segto)
13 (void)filename;
14 (void)linenumber;
15 (void)segto;
17 void null_debug_deflabel(char *name, int32_t segment, int64_t offset,
18 int is_global, char *special)
20 (void)name;
21 (void)segment;
22 (void)offset;
23 (void)is_global;
24 (void)special;
26 void null_debug_routine(const char *directive, const char *params)
28 (void)directive;
29 (void)params;
31 void null_debug_typevalue(int32_t type)
33 (void)type;
35 void null_debug_output(int type, void *param)
37 (void)type;
38 (void)param;
40 void null_debug_cleanup(void)
44 struct dfmt null_debug_form = {
45 "Null debug format",
46 "null",
47 null_debug_init,
48 null_debug_linenum,
49 null_debug_deflabel,
50 null_debug_routine,
51 null_debug_typevalue,
52 null_debug_output,
53 null_debug_cleanup
56 struct dfmt *null_debug_arr[2] = { &null_debug_form, NULL };