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
|
|
@ -20,10 +20,6 @@ char cvsroot_ocaml_cxx[] = "$Header$";
|
|||
|
||||
#include "swigmod.h"
|
||||
|
||||
#ifndef MACSWIG
|
||||
#include "swigconfig.h"
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
static const char *usage = (char*)
|
||||
|
|
@ -1898,8 +1894,10 @@ public:
|
|||
* swig_ocaml() - Instantiate module
|
||||
* ------------------------------------------------------------------------- */
|
||||
|
||||
extern "C" Language *
|
||||
swig_ocaml(void) {
|
||||
static Language * new_swig_ocaml() {
|
||||
return new OCAML();
|
||||
}
|
||||
extern "C" Language * swig_ocaml(void) {
|
||||
return new_swig_ocaml();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue