GNOME Bugzilla – Bug 568484
Create non-vararg versions of gda-easy methods
Last modified: 2009-01-27 19:54:05 UTC
/* * Data in tables manipulation */ gboolean gda_insert_row_into_table (GdaConnection *cnc, const gchar *table, GError **error, ...); gboolean gda_update_row_in_table (GdaConnection *cnc, const gchar *table, const gchar *condition_column_name, GValue *condition_value, GError **error, ...); These would need a non-vararg version for C++ wrapping as they seem to be useful in general
Would it be ok with the following? gboolean gda_insert_row_into_table (GdaConnection *cnc, const gchar *table, const gchar **col_names_array, GValue *values_array, GError **error); gboolean gda_update_row_in_table (GdaConnection *cnc, const gchar *table, const gchar *condition_column_name, GValue *condition_value, const gchar **col_names_array, GValue *values_array, GError **error);
Looks ok!
Implemented in svn trunk rev #3302, with slightly different signatures.