gir-to-d
gir-to-d copied to clipboard
Create D bindings from GObject introspection files
It looks as though cppgir searches for GIR XML (`.gir` files) in these locations (on Unix), highest-priority first: 1. directories explicitly given as command-line options 2. *d* + `/gir-1.0` for...
Trying to build gir-to-d 0.23.1 on an OpenMandriva Cooker system (ldc 1.33.0-beta2, glib 2.76.3, LLVM 16.0.4) results in ``` [20/20] Linking target girtod FAILED: girtod ldc2 -of=girtod girtod.p/source_girtod.d.o girtod.p/source_gtd_DefReader.d.o girtod.p/source_gtd_GlibTypes.d.o...
I got an error today when generating gtk files, there is on line 8814 from atk-1.0 a hex value `¨ ` For which gir-to-d gives an error. `Error: /usr/local/share/gir-1.0/Atk-1.0.gir(8814): Unregonized...
Support of my GtkD pull request: [here](https://github.com/gtkd-developers/GtkD/pull/347)
Example: Gtk.Widget defines `gtk.c.types.GtkTextDirection gtk.Widget.Widget.getDirection()` Libadwaita (Adw-1.gir) defines `GtkArrowType getDirection()` girtod marks the method as override
I am not familiar with all this and would like to try using third-party GObject libraries from D (other than gtkd). It would be useful to have a simple example...
Hello, it'd be nice if gir-to-d could generate `@safe` bindings so users of it could use it in a `@safe` manner.
Did you considered writing a D to gir generator? Dmd should output all needed information about extern C definitions and data structures to generate gir files. Therefore it would be...
Looks like ``s directly in a `` are ignored right now.. GIR file example ```xml ```