need to call notmuch_threads_get (..) to actually move iterator
Gaute Hope
eg at gaute.vetsj.com
Sun Feb 28 04:59:52 PST 2016
Gaute Hope writes on February 28, 2016 13:36:
> Gaute Hope writes on February 24, 2016 13:08:
>> Hi,
>>
>> it seems to be necessary to actually call notmuch_threads_get (threads)
>> to move the thread iterator from a query object, just calling
>> notmuch_threads_move_to_next (..) is not enough:
>
> A test-case demonstrating this (for the 'astroid' code-base) is located
> here: https://github.com/gauteh/astroid/blob/ti-stateless-query/test/test_notmuch.cc#L66
>
> At the moment, this test depends on the rest of the astroid test-suite,
> but it may be useful as a demonstration or skeleton for a notmuch
> test-case anyway.
Disregard that, my test-case was erroneous.
-Gaute
More information about the notmuch
mailing list