| Last change
 on this file since 5013 was             882, checked in by sandervl, 26 years ago | 
        
          | 
Created Wine port of wrc (using EMX/GCC)
 | 
        
          | File size:
            645 bytes | 
      
      
| Line |  | 
|---|
| 1 | /* | 
|---|
| 2 | * Copyright 1998 Bertho A. Stultiens (BS) | 
|---|
| 3 | * | 
|---|
| 4 | */ | 
|---|
| 5 |  | 
|---|
| 6 | #ifndef __WRC_PREPROC_H | 
|---|
| 7 | #define __WRC_PREPROC_H | 
|---|
| 8 |  | 
|---|
| 9 | struct pp_entry { | 
|---|
| 10 | struct pp_entry *next; | 
|---|
| 11 | struct pp_entry *prev; | 
|---|
| 12 | char    *ident; | 
|---|
| 13 | char    *subst; | 
|---|
| 14 | int     expanding; | 
|---|
| 15 | }; | 
|---|
| 16 |  | 
|---|
| 17 | struct if_state { | 
|---|
| 18 | int     current; | 
|---|
| 19 | int     hasbeentrue; | 
|---|
| 20 | int     nevertrue; | 
|---|
| 21 | }; | 
|---|
| 22 |  | 
|---|
| 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); | 
|---|
| 33 |  | 
|---|
| 34 | #endif | 
|---|
| 35 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.