Install libctypes-ocaml by entering the following commands in the terminal:
sudo apt update sudo apt install libctypes-ocaml
Description:
library for binding to C libraries using pure OCaml (runtime)
The ocaml-ctypes library makes it possible to call C functions directly from OCaml without writing or generating C code. The core of the library is a set of combinators for describing C types -- scalars, functions, structs, unions, arrays, and pointers to values and functions. Type descriptions can then be used to bind native functions and values. . This package contains the shared runtime stub library and plugins.
Homepage: https://github.com/ocamllabs/ocaml-ctypes
Version: 0.7.0-1build2
Section: universe/ocaml