]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/ruby/init.c
ruby: add bindings for `notmuch_database_get_all_tags`
[notmuch] / bindings / ruby / init.c
index ab3f22df9c8106624b7e42e28bd4a805fa925686..865d6bf6b7333f6c2bd71fe0811a4c5dd907b51d 100644 (file)
@@ -229,6 +229,7 @@ Init_notmuch (void)
                      notmuch_rb_database_find_message, 1); /* in database.c */
     rb_define_method (notmuch_rb_cDatabase, "find_message_by_filename",
                      notmuch_rb_database_find_message_by_filename, 1); /* in database.c */
+    rb_define_method (notmuch_rb_cDatabase, "all_tags", notmuch_rb_database_get_all_tags, 0); /* in database.c */
     rb_define_method (notmuch_rb_cDatabase, "query", notmuch_rb_database_query_create, 1); /* in database.c */
 
     /*