PageRenderTime 12ms CodeModel.GetById 10ms app.highlight 1ms RepoModel.GetById 1ms 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
 1require 'voidtest'
 2
 3Voidtest.globalfunc()
 4f = Voidtest::Foo.new
 5f.memberfunc()
 6
 7Voidtest::Foo.staticmemberfunc()
 8
 9v1 = Voidtest::vfunc1(f)
10v3 =  Voidtest::vfunc3(v1)
11
12v3.memberfunc()
13