https://github.com/cedlemo/ocaml-glib2
OCaml bindings to GLib2 based on OCaml Ctypes?
https://github.com/cedlemo/ocaml-glib2
Last synced: 3 months ago
JSON representation
OCaml bindings to GLib2 based on OCaml Ctypes?
- Host: GitHub
- URL: https://github.com/cedlemo/ocaml-glib2
- Owner: cedlemo
- License: gpl-3.0
- Created: 2017-07-17T16:30:26.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-05-09T16:54:23.000Z (about 5 years ago)
- Last Synced: 2025-02-26T18:11:44.300Z (3 months ago)
- Language: OCaml
- Size: 718 KB
- Stars: 5
- Watchers: 3
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
[](https://travis-ci.org/cedlemo/OCaml-GLib2)
[](https://www.gnu.org/licenses/gpl-3.0)
[](https://github.com/cedlemo/OCaml-GLib2/issues)
[](https://github.com/cedlemo/OCaml-GLib2/stargazers)# OCaml-GLib2
Autogenerated OCaml bindings of the GLib2 library based on Ctypes.
## Dependencies
This library relies on the OCaml package gobject-instropection:
```
opam install gobject-introspection
```and on a bindings generator:
```
opam pin add --yes gi-bindings-generator https://github.com/cedlemo/OCaml-GI-ctypes-bindings-generator.git
```## Clone and test
The idea is to generate the bindings and to compile the library
```
git clone https://github.com/cedlemo/OCaml-GLib2
cd OCaml-GLib2
dune exec generator/gen.exe
dune run test --profile=release
```