Browse thread
Calling C from OCaml, GC problems
-
David.Mentre@i...
- Xavier Leroy
-
Juan J. Quintela
- David.Mentre@i...
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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.