swig/Examples/test-suite/ocaml/sizet_runme.ml
Zackery Spytz 10d62aecd5 [OCaml] Fix the wrapmacro test
Add a typecheck typemap for size_t and const size_t &.

Add the const qualifier to the typemaps for primitive reference
types.

Add multiple runtime tests.
2019-02-17 01:41:59 -07:00

10 lines
212 B
OCaml

open Swig
open Sizet
let _ =
let s = C_int64 2000L in
assert (_test1 '(s) as int = 2000);
assert (_test2 '(s) as int = 2000);
assert (_test3 '(s) as int = 2000);
assert (_test4 '(s) as int = 2000);
;;