May we need to review GDA's API in order to make it more GObject-Introspection and Vala friendly.
We need to add functions that helps to use Vala in an easy way, avoiding var_list or so kind of functions. And may we need to mark unbindingable functions with (skip) annotation[1]. filed *Bug 639472* <https://bugzilla.gnome.org/show_bug.cgi?id=639472> [1] http://live.gnome.org/GObjectIntrospection/WritingBindingableAPIs 2011/1/13 Abderrahim Kitouni <[email protected]> > في ر، 12-01-2011 عند 10:10 -0600 ، كتب Daniel Espinosa: > > The following function have the following C signature: > > > > gboolean < > http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean > > > > gda_set_set_holder_value > > < > http://library.gnome.org/devel/libgda/stable/GdaSet.html#gda-set-set-holder-value > > > > (*GdaSet > > <http://library.gnome.org/devel/libgda/stable/GdaSet.html> *set*, > > *GError > > < > http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError > > > > **error*, > > *const gchar > > < > http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar> > > *holder_id*, > > *...*); > > > > but in vapi is: > > > > public bool set_holder_value (string holder_id) throws GLib.Error; > > > > How can I change update it? > You need to add something like : > > gda_set_set_holder_value ellipsis="1" > > to the metadata file (and regenerate the vapi). I'm not sure it will > work as there is no fixed convention for varargs methods throwing > errors, but I think this is your best bet. > > HTH, > Abderrahim > > -- 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)
_______________________________________________ gnome-db-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-db-list
