package ctypes

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.8.1.tar.gz
sha256=56a92dd0b5a4177328c801312e7be186168055d4df0e909099995537fa44f615
md5=354661558f0d2798b1c4fcb3b483bfac

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.