PageRenderTime 51ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1-3-29/SWIG/Examples/test-suite/ruby/voidtest_runme.rb

#
Ruby | 13 lines | 8 code | 5 blank | 0 comment | 0 complexity | 4673642f5d03abdf08d80ee587289114 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. require 'voidtest'
  2. Voidtest.globalfunc()
  3. f = Voidtest::Foo.new
  4. f.memberfunc()
  5. Voidtest::Foo.staticmemberfunc()
  6. v1 = Voidtest::vfunc1(f)
  7. v3 = Voidtest::vfunc3(v1)
  8. v3.memberfunc()