OCaml-GObject-Introspection icon indicating copy to clipboard operation
OCaml-GObject-Introspection copied to clipboard

OCaml bindings to GObject-Introspection based on OCaml-Ctypes.

Build Status License: GPL v3

gobject-introspection OCaml package

The OCaml bindings to the GObject-Introspection 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.