]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch.h
lib: make notmuch_message_get_database() take a const notmuch_message_t*
[notmuch] / lib / notmuch.h
index a8981c5c0e38f1c469feb1aa2689e4eeade1dacf..247f6ad71ebf1223b32f1c2b5e226261a309ffc1 100644 (file)
@@ -1351,7 +1351,7 @@ notmuch_messages_collect_tags (notmuch_messages_t *messages);
  * @since libnotmuch 5.2 (notmuch 0.27)
  */
 notmuch_database_t *
-notmuch_message_get_database (notmuch_message_t *message);
+notmuch_message_get_database (const notmuch_message_t *message);
 
 /**
  * Get the message ID of 'message'.