X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fnotmuch.h;h=3df1ade788c6063ef3aaa0bb7f199b5c067978cc;hp=02604c5645c3c881ec490c6ed82a9a02601873d7;hb=3b74537f495f60eed6ec10022a019acb78fd8e33;hpb=79b6b0190b36f5c9f14af48a3af675d2a16a46f3 diff --git a/lib/notmuch.h b/lib/notmuch.h index 02604c56..3df1ade7 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -415,6 +415,10 @@ notmuch_database_end_atomic (notmuch_database_t *notmuch); * If this directory object does not exist in the database, this * returns NOTMUCH_STATUS_SUCCESS and sets *directory to NULL. * + * Otherwise the returned directory object is owned by the database + * and as such, will only be valid until notmuch_database_destroy is + * called. + * * Return value: * * NOTMUCH_STATUS_SUCCESS: Successfully retrieved directory. @@ -802,6 +806,8 @@ notmuch_query_destroy (notmuch_query_t *query); * valid object. Whereas when this function returns FALSE, * notmuch_threads_get will return NULL. * + * If passed a NULL pointer, this function returns FALSE + * * See the documentation of notmuch_query_search_threads for example * code showing how to iterate over a notmuch_threads_t object. */