Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: David.Mentre@i...
Subject: Re: Calling C from OCaml, GC problems
"Juan J. Quintela" <quintela@fi.udc.es> 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
program).

d.
-- 
 David.Mentre@irisa.fr -- http://www.irisa.fr/prive/dmentre/
 Opinions expressed here are only mine.