[ocaml-ctypes] ocaml as callback to C code with event loop

Serge Sivkov ssp.mryau at gmail.com
Mon May 22 14:31:56 BST 2017


Hello,

thank for your reply. I'm use CTypes 0.11.3.
For now I wrote bindings via native OCaml mechanics and they work as for
x86 as with same cross-compiler x86-ARM suit, so it really seems as CTypes
issue.
I will try 0.11.4 version too.

WBR, ssp

2017-05-17 21:21 GMT+05:00 Jeremy Yallop <yallop at gmail.com>:

> On 12 May 2017 at 10:46, Serge Sivkov <ssp.mryau at gmail.com> wrote:
> > here is minimal example, which works without any problems on x86 and
> raises
> > CallToExpiredClosure on ARM:
> > https://github.com/mryau/ctypes-mintest
>
> Thanks for the example.  Which ctypes release are you using?  Could
> you give the latest (0.11.4) a try, if you haven't already?
>
> I didn't spot anything obviously wrong in your code, so if it's still
> broken on Arm with 0.11.4 it'd be good to have an issue open to track
> the problem (https://github.com/ocamllabs/ocaml-ctypes/issues).
>
> Kind regards,
>
> Jeremy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/ctypes/attachments/20170522/4938ec3b/attachment.html>


More information about the Ctypes mailing list