Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2010-01

GObject Introspection GIR loader unit

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Honza

Hi all,

as a side effect of some other task, there is available an initial unit for unmarshalling data from GIR files, which are installed with the various gobject-introspection-* packages. Result of such load is a (tree) data structure with the same information as the underlying GIR xml, just more convenient to work with (specific classes instead of generic TDOMNode(s)). Does any FPC developer want to have look at it? Maybe it is of some utility to someone else too. For instance - from the GIR data it is (in theory) possible to generate FPC bindings for any GLib/GObject based libraries/objects and/or late on this here:

http://live.gnome.org/GObjectIntrospection

I can mail it somewhere or open a feature request with an attachment - just let me know what's better would you be interested.

Best regards,

bflm

Reply by email

Michael Van Canneyt
to Honza
Honza wrote 17 lines
Hi all, as a side effect of some other task, there is available an initial unit for unmarshalling data from GIR files, which are installed with the various gobject-introspection-* packages. Result of such load is a (tree) data structure with the same information as the underlying GIR xml, just more convenient to work with (specific classes instead of generic TDOMNode(s)). Does any FPC developer want to have look at it? Maybe it is of some utility to someone else too. For instance - from the GIR data it is (in theory) possible to generate FPC bindings for any GLib/GObject based libraries/objects and/or late bind at runtime. More on this here: http://live.gnome.org/GObjectIntrospection I can mail it somewhere or open a feature request with an attachment - just let me know what's better would you be interested.

Sebastian Guenther tried to look at this, but he gave up on this. Maybe he is still interested in seeing it in action.

Michael.

Reply by email