package ctypes

  1. Overview
  2. Docs
Combinators for binding to C libraries without writing any C

Install

Dune Dependency

Authors

Maintainers

Sources

0.16.0.tar.gz
sha256=26395d60fa728ee6277573fdd74a7e82137826b531501fc2791d5db79b843350
md5=31d4f2072abd74e99ed8d70f934e3718

doc/ctypes/Ctypes/module-type-FOREIGN/index.html

Module type Ctypes.FOREIGN

Foreign function binding interface.

The Foreign and Cstubs modules provide concrete implementations.

type 'a fn
type 'a return
val (@->) : 'a typ -> 'b fn -> ('a -> 'b) fn
val returning : 'a typ -> 'a return fn
type 'a result
val foreign : string -> ('a -> 'b) fn -> ('a -> 'b) result
val foreign_value : string -> 'a typ -> 'a ptr result
OCaml

Innovation. Community. Security.