sed -i "s/\(const \)\?String_or_char \*/const_String_or_char_ptr /g" CParse/* Include/* Modules/* Preprocessor/* Swig/* This is a preparation for moving to new DOH, since for strong typed objects we need the const_String_or_char_ptr class to implicit convert to and from String * or const char *. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11080 626c5289-ae23-0410-ae9c-e8d60b6d4f22
38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
/* -----------------------------------------------------------------------------
|
|
* See the LICENSE file for information on copyright, usage and redistribution
|
|
* of SWIG, and the README file for authors - http://www.swig.org/release.html.
|
|
*
|
|
* preprocessor.h
|
|
*
|
|
* SWIG preprocessor module.
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
/* $Id$ */
|
|
|
|
#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 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
|