AdeptLanguage / AdeptImport

The standard library for Adept
GNU General Public License v3.0
1 stars 0 forks source link

Please add GLib binding #11

Open ghost opened 11 months ago

ghost commented 11 months ago

GLib is a bit different. You will have to parse then GObject Introspection file (.gir) to generate the binding instead of parsing the headers directly. Anyway, it's a very useful library that I think we should be able to use.

IsaacShelton commented 11 months ago

This would require a translator for .gir files, so might require separate program

ghost commented 8 months ago

This would require a translator for .gir files, so might require separate program

They are just XML. Please have a look at them: https://github.com/gtk-rs/gir-files

IsaacShelton commented 8 months ago

It would be nice but I do not have the time to implement it.

Like said, it would require a separate program to generate the bindings.

Feel free to make a repo for this though, and it can become a part of the project if you want

ghost commented 8 months ago

@IsaacShelton Please close this issue. Most of the time, people want Gtk, not GLib. People asked for GLib because they want to use the data structures GLib provides. Adept should implement these data structures instead.

ghost commented 8 months ago

It's nothing wrong to have GLib, though. GLib is more than just data structures! Btw, I will create an issue for Gtk.