various fixes to remove warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6a03a2deb5
commit
dc12af75b6
21 changed files with 41 additions and 28 deletions
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
%inline %{
|
||||
struct Foo {
|
||||
int var;
|
||||
#ifdef __cplusplus
|
||||
int test() { return -1; }
|
||||
#endif
|
||||
|
|
@ -49,6 +50,7 @@ struct Foo {
|
|||
|
||||
%inline %{
|
||||
typedef struct {
|
||||
int var;
|
||||
} Bar;
|
||||
%}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue