add ptr cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1cca8352ef
commit
ffd76a5b4e
4 changed files with 42 additions and 2 deletions
|
|
@ -38,4 +38,12 @@ if pab.first.val != 2:
|
|||
|
||||
pci = lib_std_pair.CIntPair(1,0)
|
||||
|
||||
print len(psii)
|
||||
a = lib_std_pair.A(5)
|
||||
p1 = lib_std_pair.pairP1(1,a.this)
|
||||
p2 = lib_std_pair.pairP2(a,1)
|
||||
p3 = lib_std_pair.pairP3(a,a)
|
||||
|
||||
|
||||
if a.val != lib_std_pair.p_identa(p1.this)[1].val:
|
||||
raise RuntimeError
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue