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
Calling C from OCaml, GC problems
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2000-02-21 (17:17)
From: David.Mentre@i...
Subject: Re: Calling C from OCaml, GC problems
"Juan J. Quintela" <> writes:

> I think you need to protect m with 
> CAMLparam1(m);

No. You need to protect only Caml 'values'.

(and I've tested your suggestion, segfault at the beginning of the

-- --
 Opinions expressed here are only mine.