import source from 1.3.40
[external/swig.git] / Source / Preprocessor / preprocessor.h
1 /* -----------------------------------------------------------------------------
2  * See the LICENSE file for information on copyright, usage and redistribution
3  * of SWIG, and the README file for authors - http://www.swig.org/release.html.
4  *
5  * preprocessor.h
6  *
7  * SWIG preprocessor module.
8  * ----------------------------------------------------------------------------- */
9
10 /* $Id: preprocessor.h 11080 2009-01-24 13:15:51Z bhy $ */
11
12 #ifndef SWIG_PREPROCESSOR_H_
13 #define SWIG_PREPROCESSOR_H_
14
15 #include "swigwarn.h"
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20   extern int Preprocessor_expr(String *s, int *error);
21   extern char *Preprocessor_expr_error(void);
22   extern Hash *Preprocessor_define(const_String_or_char_ptr str, int swigmacro);
23   extern void Preprocessor_undef(const_String_or_char_ptr name);
24   extern void Preprocessor_init(void);
25   extern void Preprocessor_delete(void);
26   extern String *Preprocessor_parse(String *s);
27   extern void Preprocessor_include_all(int);
28   extern void Preprocessor_import_all(int);
29   extern void Preprocessor_ignore_missing(int);
30   extern void Preprocessor_error_as_warning(int);
31   extern List *Preprocessor_depend(void);
32   extern void Preprocessor_expr_init(void);
33   extern void Preprocessor_expr_delete(void);
34
35 #ifdef __cplusplus
36 }
37 #endif
38 #endif