Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cedlemo/ocaml-gobject-introspection
OCaml bindings to GObject-Introspection based on OCaml-Ctypes.
https://github.com/cedlemo/ocaml-gobject-introspection
ctypes ffi-bindings gobject-introspection ocaml ocaml-bindings
Last synced: 14 days ago
JSON representation
OCaml bindings to GObject-Introspection based on OCaml-Ctypes.
- Host: GitHub
- URL: https://github.com/cedlemo/ocaml-gobject-introspection
- Owner: cedlemo
- License: gpl-3.0
- Created: 2017-03-25T14:56:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-03-31T12:53:16.000Z (over 2 years ago)
- Last Synced: 2024-10-04T22:16:13.313Z (about 1 month ago)
- Topics: ctypes, ffi-bindings, gobject-introspection, ocaml, ocaml-bindings
- Language: OCaml
- Homepage:
- Size: 2.37 MB
- Stars: 17
- Watchers: 5
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: COPYING
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/cedlemo/OCaml-GObject-Introspection.svg?branch=master)](https://travis-ci.org/cedlemo/OCaml-GObject-Introspection)
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)# gobject-introspection OCaml package
The OCaml bindings to the [GObject-Introspection](https://gi.readthedocs.io/en/latest/index.html) library based on Ctypes.
## Installation
the package gobject-introspection is now published and available in the opam-repository:
```
opam install gobject-introspection
```## API:
https://cedlemo.github.io/OCaml-GObject-Introspection/
## Usage
Two ideas to explore:
- Create a generic Ctypes bindings generator, based on ocaml-gobject-introspection,
for the GNOME libraries : https://github.com/cedlemo/OCaml-GI-ctypes-bindings-generator- Create a generic FFI bindings generator for bucklescript in order to be able to
use the javascript bindings to the GNOME libraries. (I am not sure if it is
faisable).- https://devdocs.baznga.org/
- https://bucklescript.github.io/bucklescript/Manual.html#_ffi
- https://github.com/glennsl/bucklescript-ffi-cheatsheet
- https://github.com/Place1/node-gir## Wiki :
https://github.com/cedlemo/OCaml-GObject-Introspection/wiki#introduction
### table of content.
- [Introduction](https://github.com/cedlemo/OCaml-GObject-Introspection/wiki#introduction)
- [Implementation details](https://github.com/cedlemo/OCaml-GObject-Introspection/wiki#implementation-details)
- [GObjectIntrospection Info Structures hierarchy and type coercion functions](https://github.com/cedlemo/OCaml-GObject-Introspection/wiki#gobjectintrospection-info-structures-hierarchy-and-type-coercion-functions)
- [How the underlying C structures allocation and deallocation are handled](https://github.com/cedlemo/OCaml-GObject-Introspection/wiki#how-the-underlying-c-structures-allocation-and-deallocation-are-handled)
- [Progress](https://github.com/cedlemo/OCaml-GObject-Introspection/wiki#progress)
- [Finished](https://github.com/cedlemo/OCaml-GObject-Introspection/wiki/#finished)
- [Remains](https://github.com/cedlemo/OCaml-GObject-Introspection/wiki/#remains)
- [Resources](https://github.com/cedlemo/OCaml-GObject-Introspection/wiki/#resources)