1 #define BUFSIZE (1 << 18)
2 #define NAMELEN (1 << 7)
3 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
5 #define TOK2(a) ((a)[0] << 16 | (a)[1] << 8)
6 #define TOK3(a) ((a)[0] << 16 | (a)[1] << 8 | (a)[2])
41 void tok_init(char *path
);
46 int tok_str(char *out
);
48 void tok_jump(long addr
);
50 int cpp_init(char *path
);
51 void cpp_addpath(char *s
);
52 void cpp_define(char *name
, char *def
);
53 int cpp_loc(char *s
, long offset
);