Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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  Archives: