[gnome-db] GObject Introspection annotation improvements patch



This patch adds lots of missing annotations. Most of them for nullable parameters, very useful on bindings.

Just note that:

At gda_thread_wrapper_execute, we need to verifify if @arg could allow null in some cases. If so needs (allow-none) annotation. I found that @arg_destroy_func could be null in some cases.

At gda_data_model_set_values, @values if by error is NULL we have a line: values = values->next; will rise a segmentation fault? (C programing un-knowlage, sorry=-). In bindings for now, it can't be NULL, is it correct?

At gda_data_model_append_values, I've added a line allowing @values to be NULL and implementors must set values to its default one. Is it correct? Is it a API break?

--
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)

Attachment: 0001-GObject-Introspection-Annotation-Fixes.patch.tar.bz2
Description: BZip2 compressed data



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