|
a/src/python/recoll/pyrecoll.cpp |
|
b/src/python/recoll/pyrecoll.cpp |
|
... |
|
... |
183 |
"stemming", "subsearch", NULL};
|
183 |
"stemming", "subsearch", NULL};
|
184 |
char *tp = 0;
|
184 |
char *tp = 0;
|
185 |
char *qs = 0; // needs freeing
|
185 |
char *qs = 0; // needs freeing
|
186 |
int slack = 0;
|
186 |
int slack = 0;
|
187 |
char *fld = 0; // needs freeing
|
187 |
char *fld = 0; // needs freeing
|
188 |
int dostem = 1; // needs freeing
|
188 |
int dostem = 1;
|
189 |
recoll_SearchDataObject *sub = 0;
|
189 |
recoll_SearchDataObject *sub = 0;
|
190 |
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "ses|iesiO!", (char**)kwlist,
|
190 |
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "ses|iesiO!", (char**)kwlist,
|
191 |
&tp, "utf-8", &qs, &slack,
|
191 |
&tp, "utf-8", &qs, &slack,
|
192 |
"utf-8", &fld, &dostem,
|
192 |
"utf-8", &fld, &dostem,
|
193 |
&recoll_SearchDataType, &sub))
|
193 |
&recoll_SearchDataType, &sub))
|