lib: Document that notmuch_query_count_messages may return 0 if an exception occurs

This isn't a behavioral change---just a calrification in the documentation.
This commit is contained in:
Carl Worth 2010-04-24 07:24:01 -07:00
parent 9ef68f1444
commit e3e0e26806

View file

@ -506,6 +506,9 @@ notmuch_threads_destroy (notmuch_threads_t *threads);
*
* This function performs a search and returns Xapian's best
* guess as to number of matching messages.
*
* If a Xapian exception occurs, this function may return 0 (after
* printing a message).
*/
unsigned
notmuch_query_count_messages (notmuch_query_t *query);