update swig on windows
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env ruby
|
||||
#
|
||||
# Put script description here.
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
require 'swig_assert'
|
||||
require 'casts'
|
||||
|
||||
include Casts
|
||||
|
||||
swig_assert( B.ancestors.include?(A), 'B.ancestors.include? A' )
|
||||
|
||||
a = A.new
|
||||
a.hello
|
||||
|
||||
b = B.new
|
||||
b.hello
|
||||
|
||||
swig_assert( b.kind_of?( A ), ' B.kind_of? A' )
|
||||
Reference in New Issue
Block a user