Add runtime tests for overload_method, typedef_class, typedef_inherit, typemap_arrays, typemap_delete, types_directive, and valuewrapper.
8 lines
162 B
OCaml
8 lines
162 B
OCaml
open Swig
|
|
open Valuewrapper
|
|
|
|
let _ =
|
|
let x1 = new_Xi '(5) and y1 = new_YXi '() in
|
|
assert (y1 -> spam (x1) as int = 0);
|
|
assert (y1 -> spam () as int = 0)
|
|
;;
|