OCaml-C interface for lcfit