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:
parent
238e948bbe
commit
deee48b017
2 changed files with 5 additions and 7 deletions
|
|
@ -29,9 +29,9 @@
|
|||
{
|
||||
typedef complex None;
|
||||
|
||||
A* clone(int);
|
||||
A* clone(int) { return NULL; }
|
||||
|
||||
virtual ~A();
|
||||
virtual ~A() {}
|
||||
virtual int func() = 0;
|
||||
private:
|
||||
typedef complex False;
|
||||
|
|
@ -44,9 +44,7 @@
|
|||
|
||||
struct B : A
|
||||
{
|
||||
B()
|
||||
{
|
||||
}
|
||||
B() {}
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
typedef int Int;
|
||||
|
||||
int hello(int);
|
||||
inline int hello(int);
|
||||
inline int hello(int) { return 0; }
|
||||
|
||||
class B;
|
||||
|
||||
|
|
@ -93,7 +93,7 @@
|
|||
int hi(int);
|
||||
int chao(int);
|
||||
int hello(int);
|
||||
inline double hello(int) { return 0; };
|
||||
inline double hello(int) { return 0; }
|
||||
|
||||
struct Hello
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue