add more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0e4b388ec9
commit
da33ad4f6b
1 changed files with 29 additions and 0 deletions
|
|
@ -31,6 +31,35 @@
|
||||||
const char* fl(int i) {
|
const char* fl(int i) {
|
||||||
return "hello";
|
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