Eric Sunshine patch - Mods to work on NextStep
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0d99906f68
commit
238e948bbe
20 changed files with 70 additions and 88 deletions
|
|
@ -13,10 +13,6 @@ char cvsroot_python_cxx[] = "$Header$";
|
|||
|
||||
#include "swigmod.h"
|
||||
|
||||
#ifndef MACSWIG
|
||||
#include "swigconfig.h"
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
#define PYSHADOW_MEMBER 0x2
|
||||
|
|
@ -2187,7 +2183,9 @@ public:
|
|||
* swig_python() - Instantiate module
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
extern "C" Language *
|
||||
swig_python(void) {
|
||||
static Language * new_swig_python() {
|
||||
return new PYTHON();
|
||||
}
|
||||
extern "C" Language * swig_python(void) {
|
||||
return new_swig_python();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue