package ctypes

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.10.5.tar.gz
sha256=53cdef37a4c3442b3cc55babd07d54f38171cefd09e518626c5e65e7fb91afe5
md5=67a4e1ba7dcf2dab40ce7cc3b517dc92

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.