X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fnotmuch.h;h=9a19699956dc0a9178d6f0fc39110e0ee7acf92d;hp=54616336eabc7e2ac8dede6335e738e81b56d6ed;hb=f6cb896bc4c0bafca1acd5ac3fb45169cd893e29;hpb=e3e0e26806cf95cddd4dfb11c24d1ecd15171110 diff --git a/lib/notmuch.h b/lib/notmuch.h index 54616336..9a196999 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -400,6 +400,8 @@ notmuch_query_set_sort (notmuch_query_t *query, notmuch_sort_t sort); * notmuch_threads_t object. (For consistency, we do provide a * notmuch_threads_destroy function, but there's no good reason * to call it if the query is about to be destroyed). + * + * If a Xapian exception occurs this function will return NULL. */ notmuch_threads_t * notmuch_query_search_threads (notmuch_query_t *query); @@ -439,6 +441,8 @@ notmuch_query_search_threads (notmuch_query_t *query); * notmuch_messages_t object. (For consistency, we do provide a * notmuch_messages_destroy function, but there's no good * reason to call it if the query is about to be destroyed). + * + * If a Xapian exception occurs this function will return NULL. */ notmuch_messages_t * notmuch_query_search_messages (notmuch_query_t *query);