package ctypes

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.9.2.tar.gz
sha256=8e31e87e21ab776de150a43a5047449243ac7632d27d1c0e9da0ca611a664d11
md5=1918e7e240547d3bc1bcb5f351085a20

doc/ctypes.stubs/Cstubs/module-type-FOREIGN/index.html

Module type Cstubs.FOREIGN

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
val foreign : string -> ('a -> 'b) fn -> ('a -> 'b) result
val foreign_value : string -> 'a Ctypes.typ -> 'a Ctypes.ptr result
OCaml

Innovation. Community. Security.