English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] create a closure in external C function?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-03-06 (19:13)
From: Chris Hecker <checker@d...>
Subject: Re: [Caml-list] create a closure in external C function?

>Last time I looked at this, I hadn't found this functionality in OCaml.
>You can at most register OCaml's functions under textual names. This
>interface is too limited. You can't even unregister them.

You can pass a closure to a C function and apply it to arguments with the callback.h library pretty easily.  Or were you talking about something else?


To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr