[OCaml] Add missing INPUT, OUTPUT, and INOUT typemaps for primitives
The typemaps are based on PHP's.
This commit is contained in:
parent
b9350614b5
commit
470ce2dd31
7 changed files with 64 additions and 15 deletions
8
Examples/test-suite/ocaml/multivalue_runme.ml
Normal file
8
Examples/test-suite/ocaml/multivalue_runme.ml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
open Swig
|
||||
open Multivalue
|
||||
|
||||
let _ =
|
||||
assert (_divide_l '(37, 5) = C_list ['7;'2]);
|
||||
assert (_divide_v '(41, 7) = C_list ['5;'6]);
|
||||
assert (_divide_mv '(91, 13) = C_list ['7;'0]);
|
||||
;;
|
||||
Loading…
Add table
Add a link
Reference in a new issue