]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch.h
lib/n_m_g_filename: catch Xapian exceptions, document NULL return
[notmuch] / lib / notmuch.h
index 037913f40303e0153db912e1e5d883530b6ffe78..5c17ec7cbb3329e229021f04722c3c7c3cbba65e 100644 (file)
@@ -1433,6 +1433,8 @@ notmuch_message_count_files (notmuch_message_t *message);
  * this function will arbitrarily return a single one of those
  * filenames. See notmuch_message_get_filenames for returning the
  * complete list of filenames.
+ *
+ * This function returns NULL if it triggers a Xapian exception.
  */
 const char *
 notmuch_message_get_filename (notmuch_message_t *message);