[BRLTTY] Patch: support for OCaml-4.04

Shérab Sebastien.Hinderer at ens-lyon.org
Tue Nov 8 12:26:00 EST 2016


Jaroslav Skarvada (2016/11/08 12:12 -0500):
> Shérab: Sorry, could you explain it more?

Let's try.

OCaml uses a garbage collector. If the values muilt by the C stub code
or manipulated by it are not registered properly, they may be either
garbage-collected accidentally, or, on the contrary, not
garbage-collected whereas they should.

The CAMLlocal, CAMLparam and CAMLreturn macros are tricks to help
programers do things correctly.

Not sure I can go much further here, sorry.

Shérab.


More information about the BRLTTY mailing list