aboutsummaryrefslogtreecommitdiff
path: root/Source/Preprocessor/preprocessor.h
blob: a325011640aea35e811744391a1e34568b4b0c89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* -----------------------------------------------------------------------------
 * preprocessor.h
 *
 *     SWIG preprocessor module.
 *
 * Author(s) : David Beazley (beazley@cs.uchicago.edu)
 *
 * Copyright (C) 1999-2000.  The University of Chicago
 * See the file LICENSE for information on usage and redistribution.
 *
 * $Header$
 * ----------------------------------------------------------------------------- */

#ifndef _PREPROCESSOR_H
#define _PREPROCESSOR_H

#include "swig.h"

#ifdef __cplusplus
extern "C" {
#endif

extern void  Preprocessor_expr_init(void);
extern int   Preprocessor_expr(DOHString *s, int *error);
extern char *Preprocessor_expr_error(void);
extern DOH  *Preprocessor_define(DOHString_or_char *str, int swigmacro);
extern void  Preprocessor_undef(DOHString_or_char *name);
extern void  Preprocessor_init();
extern DOH  *Preprocessor_parse(DOH *s);
extern void  Preprocessor_include_all(int);

#ifdef __cplusplus
}
#endif

#endif