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