diff options
| author | Anton Khirnov <anton@khirnov.net> | 2025-08-28 11:00:59 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2025-09-14 13:32:45 -0300 |
| commit | c55953e9de408674d71db78ea4fff941972b2f0a (patch) | |
| tree | 3c343b3d0644d51b596e2cbf16fe586d86d57dae /bindings/python-cffi/notmuch2/_build.py | |
| parent | abdff73a3333b295a599135ad2777e852189e188 (diff) | |
bindings/python-cffi: handle NOTMUCH_STATUS_OPERATION_INVALIDATED
Raise it as a newly added OperationInvalidatedError exception.
Diffstat (limited to 'bindings/python-cffi/notmuch2/_build.py')
| -rw-r--r-- | bindings/python-cffi/notmuch2/_build.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bindings/python-cffi/notmuch2/_build.py b/bindings/python-cffi/notmuch2/_build.py index 0429691a..2f3152c6 100644 --- a/bindings/python-cffi/notmuch2/_build.py +++ b/bindings/python-cffi/notmuch2/_build.py @@ -56,6 +56,8 @@ ffibuilder.cdef( NOTMUCH_STATUS_BAD_QUERY_SYNTAX, NOTMUCH_STATUS_NO_MAIL_ROOT, NOTMUCH_STATUS_CLOSED_DATABASE, + NOTMUCH_STATUS_ITERATOR_EXHAUSTED, + NOTMUCH_STATUS_OPERATION_INVALIDATED, NOTMUCH_STATUS_LAST_STATUS } notmuch_status_t; typedef enum { @@ -187,6 +189,8 @@ ffibuilder.cdef( notmuch_bool_t notmuch_threads_valid (notmuch_threads_t *threads); + notmuch_status_t + notmuch_threads_status (notmuch_threads_t *threads); notmuch_thread_t * notmuch_threads_get (notmuch_threads_t *threads); void @@ -221,6 +225,8 @@ ffibuilder.cdef( notmuch_bool_t notmuch_messages_valid (notmuch_messages_t *messages); + notmuch_status_t + notmuch_messages_status (notmuch_messages_t *messages); notmuch_message_t * notmuch_messages_get (notmuch_messages_t *messages); void |
