]> git.notmuchmail.org Git - notmuch/commit
lib: catch exceptions in n_m_get_flag, provide n_m_get_flag_st
authorDavid Bremner <david@tethera.net>
Sat, 4 Jul 2020 15:18:05 +0000 (12:18 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 18 Jul 2020 12:52:27 +0000 (09:52 -0300)
commit2d04ed263121d970cd24a8c26ac924425a7ae3d2
tree792bf0dc7d1c670d42f58b6d1a9eaa2c54cac502
parent13116c5cedf58171d04b5f518b3d6f2fe8aea99d
lib: catch exceptions in n_m_get_flag, provide n_m_get_flag_st

It's not very nice to return FALSE for an error, so provide
notmuch_message_get_flag_st as a migration path.

Bump LIBNOTMUCH_MINOR_VERSION because the API is extended.
lib/message.cc
lib/notmuch.h
test/T560-lib-error.sh