add more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e4637545e3
commit
a5566df2ef
1 changed files with 29 additions and 0 deletions
|
|
@ -31,6 +31,35 @@
|
|||
const char* fl(int i) {
|
||||
return "hello";
|
||||
}
|
||||
|
||||
const char* fs(const char *s) {
|
||||
return s;
|
||||
}
|
||||
|
||||
int fi(int a, int) {
|
||||
return a;
|
||||
}
|
||||
|
||||
int fi(char *) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
int fi(double) {
|
||||
return 2;
|
||||
}
|
||||
|
||||
int fi(A *a) {
|
||||
return 3;
|
||||
}
|
||||
|
||||
int fi(int a, int, int) {
|
||||
return a;
|
||||
}
|
||||
|
||||
int fi(int a, int, int, int) {
|
||||
return a;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue