/tags/rel-1-3-29/SWIG/Examples/test-suite/python/ret_by_value_runme.py
Python | 8 lines | 6 code | 2 blank | 0 comment | 2 complexity | ce9d7857b6ef387163619966236096df MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
1import ret_by_value 2 3a = ret_by_value.get_test() 4if a.myInt != 100: 5 raise RuntimeError 6 7if a.myShort != 200: 8 raise RuntimeError