]> git.cworth.org Git - obsolete/notmuch-old/commitdiff
lib: Document that notmuch_query_count_messages may return 0 if an exception occurs
authorCarl Worth <cworth@cworth.org>
Sat, 24 Apr 2010 14:24:01 +0000 (07:24 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 24 Apr 2010 14:27:50 +0000 (07:27 -0700)
This isn't a behavioral change---just a calrification in the documentation.

lib/notmuch.h

index 921b0fcfa519ee3f4eb54827ad1ac92d64a4c8c4..54616336eabc7e2ac8dede6335e738e81b56d6ed 100644 (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);