adding more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c264ed2c5b
commit
9689cebfe8
3 changed files with 33 additions and 9 deletions
|
|
@ -2,12 +2,10 @@
|
|||
|
||||
%inline %{
|
||||
|
||||
|
||||
struct A
|
||||
{
|
||||
int x;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
A a;
|
||||
A *ap;
|
||||
|
|
@ -16,7 +14,13 @@
|
|||
|
||||
int x;
|
||||
int *xp;
|
||||
void *vp;
|
||||
|
||||
int& c = x;
|
||||
|
||||
void *vp;
|
||||
|
||||
enum Hello { Hi, Hola };
|
||||
|
||||
Hello h;
|
||||
Hello *hp;
|
||||
Hello &hr = h;
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue