Added new Swig_init function
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
255ef3522c
commit
86789b2084
2 changed files with 14 additions and 0 deletions
|
|
@ -146,3 +146,16 @@ String *Swig_string_mangle(String *s) {
|
|||
}
|
||||
return t;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Swig_init()
|
||||
*
|
||||
* Initialize the SWIG core
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
void
|
||||
Swig_init() {
|
||||
DohEncoding("escape", Swig_string_escape);
|
||||
Swig_typemap_init();
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -279,6 +279,7 @@ extern void Swig_banner(File *f);
|
|||
extern DOH *Swig_temp_result(DOH *x);
|
||||
extern String *Swig_string_escape(String *s);
|
||||
extern String *Swig_string_mangle(String *s);
|
||||
extern void Swig_init();
|
||||
|
||||
/* --- C Wrappers --- */
|
||||
extern String *Swig_clocal(SwigType *t, String_or_char *name, String_or_char *value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue