mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
lib: update documentation for notmuch_database_get_directory
Clarify that using the directory after destroying the corresponding database is not permitted. This is implicit in the description of notmuch_database_destroy, but it doesn't hurt to be explicit, and we do express similar "ownership" relationships at other places in the docs.
This commit is contained in:
parent
b54e2f4fb1
commit
3b74537f49
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue