FICHA · MANJARO

ocaml-ctypes

Library for binding to C libraries using pure OCaml

  • Library
  • LIBRARY
  • OCAML
  • FFI
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Provides OCaml support for binding to C libraries without writing large C wrapper layers. It helps OCaml programs call existing C APIs while keeping much of the interface definition in OCaml code.

Use it for foreign-function interfaces and low-level integrations. Bindings can expose memory-safety and ABI risks, so developers should match C types and ownership rules carefully.

Permissions

Permissions not analysed for this source yet.