package ctypes

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.20.2.tar.gz
sha256=27915b753d1bd6cd3953057c0262246b1f7ce1c743557864a8a42b87bf05bb32
md5=cc68949d9cadc57f3682a97348137964

doc/ctypes.stubs/Cstubs/module-type-BINDINGS/argument-1-F/index.html

Parameter BINDINGS.F

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

Innovation. Community. Security.