extern "C" functions that are called from ocaml should return Val_unit, rather than void.
I'm not sure how much of a problem this is, but I noticed some crashes on cleaning the minor heap when examining https://github.com/bitwuzla/ocaml-bitwuzla/issues/3, and this could be one of the causes.
extern "C"
functions that are called from ocaml should returnVal_unit
, rather than void. I'm not sure how much of a problem this is, but I noticed some crashes on cleaning the minor heap when examining https://github.com/bitwuzla/ocaml-bitwuzla/issues/3, and this could be one of the causes.