package ctypes

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.9.5.tar.gz
sha256=42a6310d5325a78c36006221c609a426fe89fc534963ec939b1f7c971e68d905
md5=fd0d441adbb2a14a1855793895b1c71e

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.