package ctypes

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.10.3.tar.gz
sha256=c11f87f8d156f2db4139993c33e9932e9e9ea27baf2c69aa709fa5ee55c73a9d
md5=fc8ced9282ddbda2575a5b62b7fc99e6

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.