PageRenderTime 42ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/rel-1-3-29/SWIG/Examples/test-suite/python/typedef_class_runme.py

#
Python | 7 lines | 5 code | 2 blank | 0 comment | 0 complexity | 0aee67ae57d128d1615dbd8e7809199e MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. import typedef_class
  2. a = typedef_class.RealA()
  3. a.a = 3
  4. b = typedef_class.B()
  5. b.testA(a)