mirror of https://github.com/swig/swig
41 lines
1.5 KiB
C
41 lines
1.5 KiB
C
/* -----------------------------------------------------------------------------
|
|
* This file is part of SWIG, which is licensed as a whole under version 3
|
|
* (or any later version) of the GNU General Public License. Some additional
|
|
* terms also apply to certain portions of SWIG. The full details of the SWIG
|
|
* license and copyrights can be found in the LICENSE and COPYRIGHT files
|
|
* included with the SWIG source code as distributed by the SWIG developers
|
|
* and at https://www.swig.org/legal.html.
|
|
*
|
|
* preprocessor.h
|
|
*
|
|
* SWIG preprocessor module.
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
#ifndef SWIG_PREPROCESSOR_H
|
|
#define SWIG_PREPROCESSOR_H
|
|
|
|
#include "swigwarn.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
extern int Preprocessor_expr(String *s, int *error);
|
|
extern const char *Preprocessor_expr_error(void);
|
|
extern Hash *Preprocessor_define(const_String_or_char_ptr str, int swigmacro);
|
|
extern void Preprocessor_undef(const_String_or_char_ptr name);
|
|
extern void Preprocessor_init(void);
|
|
extern void Preprocessor_delete(void);
|
|
extern String *Preprocessor_parse(String *s);
|
|
extern void Preprocessor_include_all(int);
|
|
extern void Preprocessor_import_all(int);
|
|
extern void Preprocessor_ignore_missing(int);
|
|
extern void Preprocessor_error_as_warning(int);
|
|
extern List *Preprocessor_depend(void);
|
|
extern void Preprocessor_expr_init(void);
|
|
extern void Preprocessor_expr_delete(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|