mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-25 10:54:52 +01:00
ruby: Really add wrappers for database_find_message*
Commit 898613116d
only added wrapper
functions but did not register them. Register the functions in module's
initialization function.
This commit is contained in:
parent
05dddf883d
commit
c8a88fe95d
2 changed files with 10 additions and 0 deletions
|
@ -166,6 +166,12 @@ notmuch_rb_database_add_message (VALUE self, VALUE pathv);
|
|||
VALUE
|
||||
notmuch_rb_database_remove_message (VALUE self, VALUE pathv);
|
||||
|
||||
VALUE
|
||||
notmuch_rb_database_find_message (VALUE self, VALUE idv);
|
||||
|
||||
VALUE
|
||||
notmuch_rb_database_find_message_by_filename (VALUE self, VALUE pathv);
|
||||
|
||||
VALUE
|
||||
notmuch_rb_database_query_create (VALUE self, VALUE qstrv);
|
||||
|
||||
|
|
|
@ -193,6 +193,10 @@ Init_notmuch (void)
|
|||
rb_define_method (notmuch_rb_cDatabase, "get_directory", notmuch_rb_database_get_directory, 1); /* in database.c */
|
||||
rb_define_method (notmuch_rb_cDatabase, "add_message", notmuch_rb_database_add_message, 1); /* in database.c */
|
||||
rb_define_method (notmuch_rb_cDatabase, "remove_message", notmuch_rb_database_remove_message, 1); /* in database.c */
|
||||
rb_define_method (notmuch_rb_cDatabase, "find_message",
|
||||
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, "query", notmuch_rb_database_query_create, 1); /* in database.c */
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue