added more ugly 'self' cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5640 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8377edf02a
commit
eef544b02f
1 changed files with 15 additions and 1 deletions
|
|
@ -14,10 +14,24 @@
|
||||||
|
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
|
class A;
|
||||||
|
|
||||||
|
int foo(A* self)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
struct A
|
struct A
|
||||||
{
|
{
|
||||||
int foo()
|
static int bar(int, A* self)
|
||||||
|
{
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
int val;
|
||||||
|
|
||||||
|
|
||||||
|
int foo(A* self, A* b)
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue