git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
13 lines
191 B
Python
13 lines
191 B
Python
from smart_pointer_rename import *
|
|
|
|
f = Foo()
|
|
b = Bar(f)
|
|
|
|
if b.test() != 3:
|
|
raise RuntimeError
|
|
|
|
if b.ftest1(1) != 1:
|
|
raise RuntimeError
|
|
|
|
if b.ftest2(2,3) != 2:
|
|
raise RuntimeError
|