missing function body added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
fe6577b729
commit
1315f9dec7
2 changed files with 4 additions and 4 deletions
|
|
@ -7,7 +7,7 @@ namespace Foo {
|
||||||
|
|
||||||
class Baz {
|
class Baz {
|
||||||
public:
|
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 void * Animal;
|
||||||
typedef Animal Giraffe;
|
typedef Animal Giraffe;
|
||||||
|
|
||||||
void eat(Giraffe g);
|
void eat(Giraffe g) {}
|
||||||
void drink(Giraffe *g);
|
void drink(Giraffe *g) {}
|
||||||
Giraffe mate(Giraffe g[2]);
|
Giraffe mate(Giraffe g[2]) {}
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue