Version française
Home     About     Download     Resources     Contact us    
Browse thread
Wrapping a callback to OCaml code from C
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Wrapping a callback to OCaml code from C
On Thu, Jun 23, 2005 at 10:47:33PM +0100, Richard Jones wrote:
[...]

There was quite a delay in this posting appearing.  In the meantime I
think I've fixed the problem by adding CAMLparam0 .. CAMLlocal3 ..
CAMLreturn0 around the callback wrapper function.

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com