add support for smart pointers + %extend
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ee3e53c9cd
commit
d0fad62e2c
5 changed files with 75 additions and 36 deletions
|
|
@ -10,6 +10,8 @@ b = Bar(f)
|
|||
b.y = 2
|
||||
|
||||
if f.y != 2:
|
||||
print f.y
|
||||
print b.y
|
||||
raise RuntimeError
|
||||
|
||||
if b.x != f.x:
|
||||
|
|
@ -17,3 +19,6 @@ if b.x != f.x:
|
|||
|
||||
if b.z != f.z:
|
||||
raise RuntimeError
|
||||
|
||||
if b.extension() != f.extension():
|
||||
raise RuntimeError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue