[OCaml] Fix the dynamic_cast test

Add out typemaps for SWIGTYPE *DYNAMIC and SWIGTYPE &DYNAMIC.

Add dynamic_cast_runme.ml.
This commit is contained in:
Zackery Spytz 2019-02-14 02:21:36 -07:00
commit a159a252dd
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,9 @@
open Swig
open Dynamic_cast
let f = new_Foo '()
let b = new_Bar '()
let x = f -> blah ()
let y = b -> blah ()
assert (_do_test '(y) as string = "Bar::test")