Release 980628
[wine/multimedia.git] / tools / wrc / preproc.h
blobc8f13f784b516d5cb8f0176681421094bf670c36
1 /*
2 * Copyright 1998 Bertho A. Stultiens (BS)
4 */
6 #ifndef __WRC_PREPROC_H
7 #define __WRC_PREPROC_H
9 struct pp_entry {
10 struct pp_entry *next;
11 struct pp_entry *prev;
12 char *ident;
13 char *subst;
14 int expanding;
17 struct if_state {
18 int current;
19 int hasbeentrue;
20 int nevertrue;
23 struct pp_entry *pp_lookup(char *ident);
24 void set_define(char *name);
25 void del_define(char *name);
26 void add_define(char *text);
27 void add_cmdline_define(char *set);
28 FILE *open_include(const char *name, int search);
29 void add_include_path(char *path);
30 void push_if(int truecase, int wastrue, int nevertrue);
31 int pop_if(void);
32 int isnevertrue_if(void);
34 #endif