commit 3969fe56c1e649f01b51095d6caf4d5d752b5080
Author: Matthijs Kooijman <matthijs@stdin.nl>
Date:   Sun Nov 21 17:11:27 2010 +0100

    Add binding for qof_query_add_term.
    
    This puts an explicit declaration in engine.i, while ignoring the
    original declaration in qofquery.h (imported by Query.h), so it is
    processed with the right typemap for GSList *.

diff --git a/src/engine/engine.i b/src/engine/engine.i
index eec4b12..1c9e2f9 100644
--- a/src/engine/engine.i
+++ b/src/engine/engine.i
@@ -101,6 +101,8 @@ static QofQuery * qof_query_create_for_splits(void) {
 }
 %typemap(in) GSList * "$1 = gnc_query_scm2path($input);"
 
+void qof_query_add_term (QofQuery *query, GSList *param_list,
+                         QofQueryPredData *pred_data, QofQueryOp op);
 void qof_query_add_guid_match (QofQuery *q, GSList *param_list,
                            const GncGUID *guid, QofQueryOp op);
 void qof_query_set_sort_order (QofQuery *q, GSList *params1,
@@ -112,6 +114,7 @@ SplitList * qof_query_last_run (QofQuery *q);
 SplitList * qof_query_run_subquery (QofQuery *q, const QofQuery *q);
 
 %include <Query.h>
+%ignore qof_query_add_term;
 %ignore qof_query_add_guid_match;
 %ignore qof_query_set_sort_order;
 %ignore qof_query_run;
