swig/Examples/test-suite/ocaml/director_frob_runme.ml
Zackery Spytz 9942e6a582 [OCaml] Fix director_pass_by_value
Add a directorin typemap for SWIGTYPE.

Add director_frob_runme.ml, director_pass_by_value_runme.ml, and
director_unroll_runme.ml.

This commit fixes most of the director-related warnings in the OCaml
test suite. Of the director tests that are currently included in the
OCaml test suite, director_basic and director_property are the only
ones which give warnings (due to issues with typecheck typemaps).
2019-02-04 11:29:54 -07:00

5 lines
118 B
OCaml

open Swig
open Director_frob
let foo = new_Bravo '()
assert (foo -> abs_method () as string = "Bravo::abs_method()")