diff options
author | Carl Worth <cworth@cworth.org> | 2009-10-21 15:37:51 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-10-21 15:40:20 -0700 |
commit | 6c5054ebee5beb72c22d91a57c66b8ecdc65f7bf (patch) | |
tree | 7a081e37908a868ca0f25adb87dd4e6e31fcef54 /message.cc | |
parent | 8ad4350fef132b016bbab5eeb1c4a713e51035c6 (diff) |
database: Add new notmuch_database_find_message
With this function, and the recently added support for
notmuch_message_get_thread_ids, we now recode the find_thread_ids
function to work just the way we expect a user of the public
notmuch API to work. Not too bad really.
Diffstat (limited to 'message.cc')
-rw-r--r-- | message.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -104,13 +104,13 @@ _notmuch_message_destructor (notmuch_message_t *message) } notmuch_message_t * -_notmuch_message_create (notmuch_results_t *owner, +_notmuch_message_create (const void *talloc_owner, notmuch_database_t *notmuch, - Xapian::docid doc_id) + unsigned int doc_id) { notmuch_message_t *message; - message = talloc (owner, notmuch_message_t); + message = talloc (talloc_owner, notmuch_message_t); if (unlikely (message == NULL)) return NULL; |