Warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
af9b02bc60
commit
1c8c536fb5
2 changed files with 5 additions and 5 deletions
|
|
@ -5,8 +5,8 @@
|
|||
%inline %{
|
||||
struct Foo {
|
||||
int x;
|
||||
int test(int x) { x = 0; return 1; }
|
||||
int test(double x) { x = 0; return 2; }
|
||||
int test(int y) { y = 0; return 1; }
|
||||
int test(double y) { y = 0; return 2; }
|
||||
int test(char *s) { s = 0; return 3; }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue