GObject Introspection support for GSList or other types without a GLib type
- From: Daniel Espinosa <esodan gmail com>
- To: "Gtk+ Developers" <gtk-devel-list gnome org>
- Subject: GObject Introspection support for GSList or other types without a GLib type
- Date: Sun, 14 Jun 2009 02:30:42 -0500
How to handle data types without a GLib GType defined.
On libgda, it define a GType for GError and a GSList becouse these doesn't exist on GLib and it uses them as parameters when creating properties and events.
For now may be the library (as Anjuta does) must create its own GType definition but with the following rule: the name of the type must be defined as "GError" and "GSList", in order to allow g-ri-scanner to detects the currect types GError and GSList as the example.
In GDA it has GDA_TYPE_ERROR and GDA_TYPE_SLIST with "GdaError" and "GdaSList", then the scanner tries to find a definition to GdaError and GdaSList but they don't exist, when changed this types' names as avobe the correct type is detected.
Filed with the Bug #585707
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los cuates: LIBRE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]