yallop / ocaml-ctypes

Library for binding to C libraries using pure OCaml
MIT License
369 stars 95 forks source link

Interim fix for ocaml_string/const issues #646

Closed yallop closed 4 years ago

yallop commented 4 years ago

Eliminate the warnings mentioned in https://github.com/ocamllabs/ocaml-ctypes/issues/134#issuecomment-605786250 by casting away const. This temporary fix can be removed when ctypes acquires proper support for cv-qualifiers.