r19890 - gnucash/trunk/src - Bug #635469: Add a (typemap for a) QofQueryParamList typedef.

Christian Stimming cstim at code.gnucash.org
Sat Nov 27 16:57:01 EST 2010


Author: cstim
Date: 2010-11-27 16:57:00 -0500 (Sat, 27 Nov 2010)
New Revision: 19890
Trac: http://svn.gnucash.org/trac/changeset/19890

Modified:
   gnucash/trunk/src/engine/engine.i
   gnucash/trunk/src/libqof/qof/qofquery-p.h
   gnucash/trunk/src/libqof/qof/qofquery.c
   gnucash/trunk/src/libqof/qof/qofquery.h
   gnucash/trunk/src/libqof/qof/qofquerycore.c
   gnucash/trunk/src/libqof/qof/qofquerycore.h
Log:
Bug #635469: Add a (typemap for a) QofQueryParamList typedef.

Patch by Matthijs Kooijman:

This is a typedef for a GSList, that is used to identify the path from
an object to one of its parameters in search queries and sorting.

This typedef replaces GSList everywhere where it's applicable. This
relieves the need to special case a few functions in the swig bindings
and makes the bindings for a bunch of other functions work as well.

Note this is (still) only an in typemap, since no useful functions that
return a QofQueryParamList are exposed in the bindings right now anyway.



More information about the gnucash-patches mailing list