Re: Calling C from OCaml, GC problems

From: David Mentré (David.Mentre@irisa.fr)
Date: Mon Feb 21 2000 - 14:40:25 MET

  • Next message: David Mentré: "Still strange GC problems with OCaml and C: OCaml 2.04 bug?"

    "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.
    



    This archive was generated by hypermail 2b29 : Mon Feb 21 2000 - 18:19:37 MET