Package Info

ocaml-ctypes


Combinators for binding to C libraries without writing any C


Development/Languages/OCaml

ctypes is a library for binding to C libraries using pure OCaml. The primary aim is to make writing C extensions as straightforward as possible.

The core of ctypes is a set of combinators for describing the structure of C types -- numeric types, arrays, pointers, structs, unions and functions. You can use these combinators to describe the types of the functions that you want to call, then bind directly to those functions -- all without writing or generating any C!


License: ISC
URL: https://opam.ocaml.org/packages/ctypes

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.22.0-bp156.1.1 info GA Release 2024-03-29 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ocaml-ctypes
  • ocaml-ctypes-devel