update swig on windows
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env ruby
|
||||
#
|
||||
# Put description here
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
require 'swig_assert'
|
||||
|
||||
require 'friends'
|
||||
|
||||
|
||||
a = Friends::A.new(2)
|
||||
|
||||
raise RuntimeError if Friends::get_val1(a) != 2
|
||||
raise RuntimeError if Friends::get_val2(a) != 4
|
||||
raise RuntimeError if Friends::get_val3(a) != 6
|
||||
Reference in New Issue
Block a user