GObject introspection support



Hi all,

I started working on improving GObject-introspection support for Grilo.
Its current status is explained at [1]: those methods declared with
*#define*s aren't exposed in the .gir file.

I thought that we could have a working introspection support by
replacing those defines with actual functions: code wouldn't be as clear
as it's right now, but we would be able to play with bindings and all that.

Iago also suggested that I could ask Víctor about what he'd done with
Vala's bindings, and how he was dealing with those defines: he pointed
me to an option which allows to add custom information with the missing
functions. As he expected, there's an --inject option in the
g-ir-scanner which allows injecting custom methods.

However, after trying it for a while, I didn't get it working. People
from #introspection at GIMPnet says that it's broken now, having been a
temporary fix: the idea now is fixing the library upstream.

As --inject is broken, and looks that it won't be fixed soon, I'd go for
replacing those defines.

What do you think?

Cheers,

Simón

[1] https://bugzilla.gnome.org/show_bug.cgi?id=616961


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]