missing function body added

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-10-17 19:22:58 +00:00
commit 136025b035
2 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@ namespace Foo {
class Baz {
public:
Baz(Bar b = Bar());
Baz(Bar b = Bar()) {}
};
}

View file

@ -42,8 +42,8 @@ code is not functioning properly it will fail to compile.
typedef void * Animal;
typedef Animal Giraffe;
void eat(Giraffe g);
void drink(Giraffe *g);
Giraffe mate(Giraffe g[2]);
void eat(Giraffe g) {}
void drink(Giraffe *g) {}
Giraffe mate(Giraffe g[2]) {}
%}