Closed yallop closed 4 years ago
In recent versions of OCaml, String_val returns const char*, not char *: https://github.com/ocaml/ocaml/pull/1274
String_val
const char*
char *
Cf. https://github.com/ocamllabs/ocaml-ctypes/issues/134#issuecomment-605786250 (which is related, but not fixed by this PR).
In recent versions of OCaml,
String_val
returnsconst char*
, notchar *
: https://github.com/ocaml/ocaml/pull/1274Cf. https://github.com/ocamllabs/ocaml-ctypes/issues/134#issuecomment-605786250 (which is related, but not fixed by this PR).