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:
parent
3ac9536a83
commit
136025b035
2 changed files with 4 additions and 4 deletions
|
|
@ -7,7 +7,7 @@ namespace Foo {
|
|||
|
||||
class Baz {
|
||||
public:
|
||||
Baz(Bar b = Bar());
|
||||
Baz(Bar b = Bar()) {}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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]) {}
|
||||
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue