GNOME Bugzilla – Bug 639472
Make API Bindingable friendly
Last modified: 2011-04-20 15:58:01 UTC
Actually Gda have powerful functions to easy do actions using vararg variable lists, but they are unbindingable for GObject Introspection and Vala. These requires to write more lines of code for, example, Vala, when using GDA. 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]. [1] http://live.gnome.org/GObjectIntrospection/WritingBindingableAPIs
Created attachment 186227 [details] [review] Skip any function with vararg. This start the development of equivalent functions to use instead. Most of these functions are required to properly use of libgda.
Created attachment 186306 [details] [review] First path for missing functions and the ones made public API
Created attachment 186307 [details] [review] Fix typos and other erros to make last patch to compile Second patch for missing functions and the ones made public API. This patch, allows to compile attachment #186306 [details], then this is required to test the last. Apologies for the inconvenience.
The patches have been applied (with some modifications and a few corrections), see http://git.gnome.org/browse/libgda/commit/?id=bb57e3e7436a9324ee0753eced086db45b7b2067 and the one before. Also applied to the LIBGDA_4.2 branch. Thanks