[gnome-db] GObject Introspection annotation improvements patch

Daniel Espinosa <[email protected]>
Newsgroups gmane.comp.gnome.db
Message-ID <CAHirWtJMzdpm+WwAh+yeiY2GNKuTH+Kx6LZ3Aaa8zPH5j=HjMg@mail.gmail.com>
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)

_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list
0001-GObject-Introspection-Annotation-Fixes.patch.tar.bz2 (application/x-bzip2, 14.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.