forked from ocaml/opam-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ocaml#8113 from yallop/ctypes.0.11.2-etc
Add ctypes.0.9.4, ctypes.0.10.3, ctypes.0.11.2
- Loading branch information
Showing
12 changed files
with
174 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Combinators for binding to C libraries without writing any C. | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ctypes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
opam-version: "1.2" | ||
maintainer: "[email protected]" | ||
author: "[email protected]" | ||
homepage: "https://github.com/ocamllabs/ocaml-ctypes" | ||
doc: "http://ocamllabs.github.io/ocaml-ctypes" | ||
dev-repo: "http://github.com/ocamllabs/ocaml-ctypes.git" | ||
bug-reports: "http://github.com/ocamllabs/ocaml-ctypes/issues" | ||
license: "MIT" | ||
build: [ | ||
[make "XEN=%{mirage-xen:enable}%" "libffi.config"] {ctypes-foreign:installed} | ||
["touch" "libffi.config"] {!ctypes-foreign:installed} | ||
[make "XEN=%{mirage-xen:enable}%" "ctypes-base" "ctypes-stubs"] | ||
[make "XEN=%{mirage-xen:enable}%" "ctypes-foreign"] {ctypes-foreign:installed} | ||
] | ||
build-test: [ | ||
[make "test"] | ||
] | ||
install: [ | ||
[make "install" "XEN=%{mirage-xen:enable}%"] | ||
] | ||
remove: [ | ||
["ocamlfind" "remove" "ctypes"] | ||
] | ||
depends: [ | ||
"base-bytes" | ||
"ocamlfind" {build} | ||
"conf-pkg-config" {build} | ||
"lwt" {test} | ||
"ounit" {test} | ||
"ctypes-foreign" {test} | ||
] | ||
depopts: [ | ||
"ctypes-foreign" | ||
"mirage-xen" | ||
] | ||
tags: ["org:ocamllabs" "org:mirage"] | ||
available: [ ocaml-version >= "4.01.0" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
archive: "https://github.com/ocamllabs/ocaml-ctypes/archive/0.10.3.tar.gz" | ||
checksum: "fc8ced9282ddbda2575a5b62b7fc99e6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Combinators for binding to C libraries without writing any C. | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ctypes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
opam-version: "1.2" | ||
maintainer: "[email protected]" | ||
author: "[email protected]" | ||
homepage: "https://github.com/ocamllabs/ocaml-ctypes" | ||
doc: "http://ocamllabs.github.io/ocaml-ctypes" | ||
dev-repo: "http://github.com/ocamllabs/ocaml-ctypes.git" | ||
bug-reports: "http://github.com/ocamllabs/ocaml-ctypes/issues" | ||
license: "MIT" | ||
build: [ | ||
[make "XEN=%{mirage-xen:enable}%" "libffi.config"] {ctypes-foreign:installed} | ||
["touch" "libffi.config"] {!ctypes-foreign:installed} | ||
[make "XEN=%{mirage-xen:enable}%" "ctypes-base" "ctypes-stubs"] | ||
[make "XEN=%{mirage-xen:enable}%" "ctypes-foreign"] {ctypes-foreign:installed} | ||
] | ||
build-test: [ | ||
[make "test"] | ||
] | ||
install: [ | ||
[make "install" "XEN=%{mirage-xen:enable}%"] | ||
] | ||
remove: [ | ||
["ocamlfind" "remove" "ctypes"] | ||
] | ||
depends: [ | ||
"base-bytes" | ||
"ocamlfind" {build} | ||
"conf-pkg-config" {build} | ||
"lwt" {test} | ||
"ounit" {test} | ||
"ctypes-foreign" {test} | ||
] | ||
depopts: [ | ||
"ctypes-foreign" | ||
"mirage-xen" | ||
] | ||
tags: ["org:ocamllabs" "org:mirage"] | ||
available: [ ocaml-version >= "4.01.0" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
archive: "https://github.com/ocamllabs/ocaml-ctypes/archive/0.11.2.tar.gz" | ||
checksum: "72055750770278a84965bb81aec68d87" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Combinators for binding to C libraries without writing any C. | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ctypes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
opam-version: "1.2" | ||
maintainer: "[email protected]" | ||
author: "[email protected]" | ||
homepage: "https://github.com/ocamllabs/ocaml-ctypes" | ||
doc: "http://ocamllabs.github.io/ocaml-ctypes" | ||
dev-repo: "http://github.com/ocamllabs/ocaml-ctypes.git" | ||
bug-reports: "http://github.com/ocamllabs/ocaml-ctypes/issues" | ||
license: "MIT" | ||
build: [ | ||
[make "XEN=%{mirage-xen:enable}%" "libffi.config"] {ctypes-foreign:installed} | ||
["touch" "libffi.config"] {!ctypes-foreign:installed} | ||
[make "XEN=%{mirage-xen:enable}%" "ctypes-base" "ctypes-stubs"] | ||
[make "XEN=%{mirage-xen:enable}%" "ctypes-foreign"] {ctypes-foreign:installed} | ||
] | ||
build-test: [ | ||
[make "test"] | ||
] | ||
install: [ | ||
[make "install" "XEN=%{mirage-xen:enable}%"] | ||
] | ||
remove: [ | ||
["ocamlfind" "remove" "ctypes"] | ||
] | ||
depends: [ | ||
"base-bytes" | ||
"ocamlfind" {build} | ||
"conf-pkg-config" {build} | ||
"lwt" {test} | ||
"ounit" {test} | ||
"ctypes-foreign" {test} | ||
] | ||
depopts: [ | ||
"ctypes-foreign" | ||
"mirage-xen" | ||
] | ||
tags: ["org:ocamllabs" "org:mirage"] | ||
available: [ ocaml-version >= "4.01.0" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
archive: "https://github.com/ocamllabs/ocaml-ctypes/archive/0.9.4.tar.gz" | ||
checksum: "3b023d198feee3c63783591a750ef1d1" |