X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fnotmuch.h;h=3df1ade788c6063ef3aaa0bb7f199b5c067978cc;hp=68896ae75afeeaa27347a284540160833bcd59ad;hb=3b74537f495f60eed6ec10022a019acb78fd8e33;hpb=b54e2f4fb15bf313e80e52ee0b086b4f515520aa diff --git a/lib/notmuch.h b/lib/notmuch.h index 68896ae7..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.