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=249c5604c8554659761a7282db4ad200aa8c0fdc408cdb53102bd70feeb51955
md5=064316aaf508a9db203f114bb8401dee
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 package.
opam install ctypes-foreign
This will make the ctypes-foreign ocamlfind subpackage available.
Dependencies (4)
- dune-configurator
- integers
-
ocaml
>= "4.07.0" -
dune
>= "3.9"
Dev Dependencies (4)
-
odoc
with-doc -
conf-pkg-config
with-test -
conf-fts
with-test & os != "win32" -
ounit2
with-test
- ahrocksdb
-
antic
< "0.4.0" -
arb
< "0.4.0" - argon2
- arrayjit
-
async_ssl
>= "v0.15.0" - bimage-unix
- bitgenerators
-
calcium
< "0.4.0" - camlkit-base
- ceph
- cf
-
checked_oint
< "0.4.1" - cmark
- cmarker
- corosync
- ctypes-build
-
ctypes-foreign
>= "0.24.0" - ctypes-zarith
- ctypes_stubs_js
- cudajit
-
decompress
>= "1.3.0" & < "1.5.3" - directories
-
dlm
>= "0.3.3" -
dune
>= "3.17.2" - echo
-
eigen
>= "0.1.4" - extism
- flint
- fsevents
- gccjit
-
gdal
>= "0.10.0" - gl-legacy
- gobject-introspection
- gpiod
- gr
- guile
-
hacl-star-raw
>= "0.7.2" - hardcaml_c
- hardcaml_verilator
- hdr_histogram
- imguiml
-
kqueue
< "0.2.0" - libbpf
- libbpf_maps
-
libdash
>= "0.3" - libdrm
- libinput
- libirmin
- lilv
- llama-cpp-ocaml
-
llvm
>= "3.7" - lp-glpk
- lp-gurobi
- luv
- luv_unix
-
lz4
>= "1.3.0" -
mariadb
< "1.1.5" | >= "1.2.0" -
memcpy
>= "0.2.2" - metal
- mmdb
- mpg123
-
netlink
>= "0.3.4" -
nx
< "1.0.0~alpha1" - ocaml-yescrypt
- 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
- pg_query
- pkcs11-driver
- pkcs11-rev
- portaudio_c_bindings
- posix-base
-
posix-bindings
< "3" - posix-errno
-
posix-getopt
>= "2.0.0" - posix-math2
- posix-resource
- posix-signal
- posix-socket
- posix-socket-unix
- posix-stat
- posix-time2
- posix-types
- posix-uname
- posix-unistd
-
ppx_cstubs
>= "0.7.0" -
py
>= "1.1" - quickjs
-
raygui
< "1.5.1" - raylib
- reed-solomon-erasure
-
rfc1951
>= "1.3.0" -
rune
< "1.0.0~alpha3" - sanlock
- sarek
- sattools
-
sodium
< "0.6.0" -
spin
>= "0.8.0" - spoc
- srt
- stk_iconv
- swipl
- sys-socket
- sys-socket-unix
- tensorflow
-
tgls
>= "0.9.0" - tinyfiledialogs
- 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.2" - 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.4"