Name the output executable "runme" in the examples. Replace use of "foolib" in the string_from_ptr example. Fix a warning in the std_vector example. Add strings_test to Examples/ocaml/check.list. Disable two tests that were causing the OCaml test suite to fail.
5 lines
152 B
OCaml
5 lines
152 B
OCaml
open Swig
|
|
open Example
|
|
|
|
let arg = if Array.length Sys.argv > 1 then Sys.argv.(1) else "Tag1"
|
|
let _ = _f (match arg with "Tag1" -> ``Tag1 | _ -> ``Tag2)
|