(SWIG_config_file) Constified prototype, enabling build with Solaris c++.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@712 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f6d5f68aed
commit
42729844ef
2 changed files with 2 additions and 2 deletions
|
|
@ -129,7 +129,7 @@ static int freeze = 0;
|
||||||
static String *lang_config = 0;
|
static String *lang_config = 0;
|
||||||
|
|
||||||
/* This function sets the name of the configuration file */
|
/* This function sets the name of the configuration file */
|
||||||
void SWIG_config_file(String_or_char *filename) {
|
void SWIG_config_file(const String_or_char *filename) {
|
||||||
lang_config = NewString(filename);
|
lang_config = NewString(filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -264,5 +264,5 @@ extern int emit_args(SwigType *, ParmList *, Wrapper *f);
|
||||||
extern void emit_func_call(char *, SwigType *, ParmList *, Wrapper *f);
|
extern void emit_func_call(char *, SwigType *, ParmList *, Wrapper *f);
|
||||||
extern void SWIG_exit(int);
|
extern void SWIG_exit(int);
|
||||||
extern int check_numopt(ParmList *);
|
extern int check_numopt(ParmList *);
|
||||||
extern void SWIG_config_file(String_or_char *);
|
extern void SWIG_config_file(const String_or_char *);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue