Eric Sunshine patch - Mods to work on NextStep
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
25f7d19348
commit
11561b2499
20 changed files with 70 additions and 88 deletions
|
|
@ -17,10 +17,6 @@ char cvsroot_perl5_cxx[] = "$Header$";
|
|||
|
||||
#include "swigmod.h"
|
||||
|
||||
#ifndef MACSWIG
|
||||
#include "swigconfig.h"
|
||||
#endif
|
||||
|
||||
static const char *usage = (char*)"\
|
||||
Perl5 Options (available with -perl5)\n\
|
||||
-ldflags - Print runtime libraries to link with\n\
|
||||
|
|
@ -1436,7 +1432,9 @@ public:
|
|||
* swig_perl5() - Instantiate module
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
extern "C" Language *
|
||||
swig_perl5(void) {
|
||||
static Language * new_swig_perl5() {
|
||||
return new PERL5();
|
||||
}
|
||||
extern "C" Language * swig_perl5(void) {
|
||||
return new_swig_perl5();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue