update swig on windows

This commit is contained in:
Bassem Girgis
2019-08-04 21:38:19 -05:00
parent 8414b7136b
commit 76ad52be58
5943 changed files with 91790 additions and 71892 deletions

View File

@@ -0,0 +1,12 @@
open Swig
open Using_extend
let _ =
let f = new_FooBar '() in
assert (f -> blah (3) as int = 3);
assert (f -> blah (3.5) as float = 3.5);
assert (f -> blah ("hello") as string = "hello");
assert (f -> blah (3, 4) as int = 7);
assert (f -> blah (3.5, 7.5) as float = 11.);
assert (f -> duh (3) as int = 3)
;;