]> git.cworth.org Git - notmuch/commitdiff
lib: Move notmuch_messages_t code from query.cc to new messages.c
authorCarl Worth <cworth@cworth.org>
Sun, 15 Nov 2009 07:05:17 +0000 (23:05 -0800)
committerCarl Worth <cworth@cworth.org>
Sun, 15 Nov 2009 07:05:17 +0000 (23:05 -0800)
The new object is simply a linked-list of notmuch_message_t objects,
(unlike the old object which contained a couple of Xapian iterators).
This works now by the query code immediately iterator over all results
and creating notmuch_message_t objects for them, (rather than waiting
to create the objects until the notmuch_messages_get call as we did
earlier).

The point of this change is to allow other instances of lists of
messages, (such as in notmuch_thread_t), that are not directly related
to Xapian search results.


No differences found