Browse thread
Give back a Pair from C to OCaml?
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Florent Monnier <fmonnier@l...> |
| Subject: | Re: [Caml-list] Give back a Pair from C to OCaml? |
> how can I give back a pair of values (in my case both are > int's) from C to OCaml? > > Didn't found something in the docs so far. Hi, Recently I've written a small tutorial about wrapping ocaml to C, maybe you could find it usefull: http://www.linux-nantes.org/~fmonnier/OCaml/ocaml-wrapping-c.php and if someone wish to contribute to this document (correct the english or enhance it) it's wellcome. With regards