package ctypes
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=1f30c48f4667f17ea4ab5048b9fd10d090a7fbbf4f1997eb018b656b851340a4
md5=5d9ef3790fda7cd97a8cec08be4b5b61
Description
ctypes is a library for binding to C libraries using pure OCaml. The primary aim is to make writing C extensions as straightforward as possible.
The core of ctypes is a set of combinators for describing the structure of C types -- numeric types, arrays, pointers, structs, unions and functions. You can use these combinators to describe the types of the functions that you want to call, then bind directly to those functions -- all without writing or generating any C!
To install the optional ctypes.foreign interface (which uses libffi to
provide dynamic access to foreign libraries), you will need to also install
the ctypes-foreign optional dependency:
opam install ctypes ctypes-foreign
This will make the ctypes.foreign ocamlfind subpackage available.
Published: 14 Feb 2021
Dependencies (4)
- bigarray-compat
-
ocamlfind
build -
integers
>= "0.3.0" -
ocaml
>= "4.02.3" & < "5.2"
Dev Dependencies (4)
-
conf-ncurses
with-test -
ounit
with-test -
ctypes-foreign
with-test -
lwt
with-test & >= "3.2.0"
- ahrocksdb
- argon2
-
async_ssl
>= "v0.15.0" - bimage-unix
- binaryen_dsl
- bitgenerators
- bls12-381-legacy
-
bls12-381-unix
< "1.1.0" - ceph
- cf
-
checked_oint
< "0.4.1" - cmark
- cmarker
- ctypes-build
-
ctypes-foreign
= "0.18.0" - ctypes-zarith
- ctypes_stubs_js
- cudajit
-
decompress
>= "1.3.0" & < "1.5.3" - directories
-
dlm
>= "0.3.3" -
dune
>= "3.17.2" -
eigen
>= "0.1.0" -
extism
< "1.1.0" - fsevents
- gccjit
-
gdal
>= "0.10.0" - gl-legacy
- gobject-introspection
- gpiod
- gr
- guile
-
hacl-star-raw
>= "0.3.2" - hardcaml_c
- hardcaml_verilator
- imguiml
-
kqueue
< "0.2.0" -
libdash
>= "0.3" - libudev
- lilv
-
llvm
>= "3.7" - lp-glpk
- lp-gurobi
- luv
- luv_unix
- lz4
- mariadb
-
memcpy
>= "0.2.1" - metal
- mmdb
- mpg123
- netlink
- octez-l2-libs
- octez-libs
- opasswd
-
opencc
< "transition" - opencc0
- opencc1
- opencc1_1
- orocksdb
- osx-acl
- osx-attr
- osx-cf
- osx-fsevents
- osx-membership
- osx-mount
- osx-secure-transport
- osx-xattr
-
owl
>= "0.9.0" - pari
- pari-bindings
- pci
- pg_query
- pkcs11-driver
- pkcs11-rev
- portaudio_c_bindings
-
portmidi
< "0.4" - posix-base
-
posix-bindings
< "3" -
posix-getopt
>= "2.0.0" - posix-math2
- posix-signal
- posix-socket
- posix-socket-unix
- posix-time2
- posix-types
- posix-uname
-
ppx_cstubs
>= "0.5.0.1" & != "0.6.0" & != "0.6.1" -
py
>= "1.1" - quickjs
-
raygui
< "1.5.1" -
raylib
< "1.5.1" - reed-solomon-erasure
-
rfc1951
>= "1.3.0" - sanlock
- sarek
- sattools
-
sodium
< "0.6.0" -
spin
>= "0.8.0" - spoc
-
srt
< "0.3.4" - swipl
- sys-socket
- sys-socket-unix
- tensorflow
- tezos-hacl
-
tezos-hacl-glue-unix
< "12.3" - tezos-sapling
- tezos-wasmer
-
tgls
< "0.9.0" - torch
-
tsdl
< "1.1.0" -
tsdl-image
>= "0.3.0" - tsdl-mixer
-
tsdl-ttf
>= "0.3" -
unix-errno
>= "0.4.1" & < "0.5.0" | >= "0.6.0" - unix-sys-resource
- unix-sys-stat
- unix-time
-
unix-type-representations
>= "0.1.1" - uring-trace
- wasmer
- wasmtime
- xedbindings
- xxhash
- yaml
- yara
- yices2_bindings
- zstandard
-
zstd
>= "0.3"