Fixes to link on Cygwin

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5675 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-01-22 22:43:32 +00:00
commit deee48b017
2 changed files with 5 additions and 7 deletions

View file

@ -29,9 +29,9 @@
{ {
typedef complex None; typedef complex None;
A* clone(int); A* clone(int) { return NULL; }
virtual ~A(); virtual ~A() {}
virtual int func() = 0; virtual int func() = 0;
private: private:
typedef complex False; typedef complex False;
@ -44,9 +44,7 @@
struct B : A struct B : A
{ {
B() B() {}
{
}
}; };
} }

View file

@ -35,7 +35,7 @@
typedef int Int; typedef int Int;
int hello(int); int hello(int);
inline int hello(int); inline int hello(int) { return 0; }
class B; class B;
@ -93,7 +93,7 @@
int hi(int); int hi(int);
int chao(int); int chao(int);
int hello(int); int hello(int);
inline double hello(int) { return 0; }; inline double hello(int) { return 0; }
struct Hello struct Hello
{ {