package ctypes

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.23.0.tar.gz
sha256=cae47d815b27dd4c824a007f1145856044542fe2588d23a443ef4eefec360bf1
md5=b1af973ec9cf7867a63714e92df82f2a

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

Module type Ctypes.FOREIGNSource

binding interfaces

Foreign function binding interface.

The Foreign and Cstubs modules provide concrete implementations.

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

Innovation. Community. Security.