package ctypes
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=8be72c0b614b8c4a6f8f29183c385cfd649e10f0e465c1c8ddcac00409f7c37e
md5=e87b2646f7597e00b8b9a1f5f8e36ee6
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.
Added to opam-repository:
Dependencies (5)
-
conf-pkg-config
build -
ocamlfind
build -
integers
>= "0.3.0" - base-bytes
-
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
- bimage-unix
- binaryen_dsl
- bitgenerators
- ceph
- cf
-
checked_oint
< "0.4.1" - cmark
- cmarker
- ctypes-build
-
ctypes-foreign
= "0.18.0" - ctypes-zarith
- ctypes_stubs_js
- cudajit
-
directories
< "0.2" - dlm
-
dune
>= "3.17.2" - eigen
- flock
- fsevents
- gccjit
- gdal
- gl-legacy
- gobject-introspection
- gr
-
hacl-star-raw
< "0.4.0" - imguiml
-
kqueue
< "0.2.0" -
libdash
< "0.3" - libudev
-
lilv
< "0.2.1" -
llvm
>= "3.7" -
lmdb
< "1.0" - lp-glpk
- lp-gurobi
- luv
- luv_unix
- lz4
- mariadb
-
memcpy
>= "0.2.1" - metal
- mmdb
- mpg123
- netlink
- ocephes
- 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
-
posix-base
< "4.0.1" -
posix-bindings
< "3" - posix-errno
- posix-getopt
- posix-math2
- posix-resource
- posix-signal
- posix-socket
- posix-socket-unix
- posix-stat
- posix-time2
- posix-types
- posix-uname
- posix-unistd
- ppx_cstubs
- py
-
qcstm
>= "0.1.1" -
quickjs
< "0.5.0" -
raygui
< "1.5.1" -
raylib
< "1.5.1" - reed-solomon-erasure
- sanlock
- sarek
- sattools
- sodium
-
spin
>= "0.8.0" - spoc
- sys-socket
- sys-socket-unix
- tensorflow
-
tgls
< "0.9.0" -
torch
< "v0.16.0" -
tsdl
< "1.1.0" - tsdl-image
- tsdl-mixer
- tsdl-ttf
-
unix-errno
>= "0.4.1" - unix-sys-resource
- unix-sys-stat
- unix-time
- unix-type-representations
- uring-trace
- wasmer
- wasmtime
- xedbindings
- xxhash
- yaml
- yara
- yices2_bindings
-
zstandard
< "v0.14.0" - zstd
Conflicts (4)
Build status
Results of building ctypes with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
This version is not in the latest run; the versions below are.
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure