diff options
| author | Felipe Contreras <felipe.contreras@gmail.com> | 2023-03-27 15:59:42 -0600 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2023-04-12 07:30:01 -0300 |
| commit | e4d75fcc8349ae95ec22d0e6679880d23bed37f8 (patch) | |
| tree | f9f390d7f8f8a904642be728c00e87d3a9568b48 /bindings/ruby/init.c | |
| parent | 837426d7be63cf11d51b74464f174724935c5d4f (diff) | |
ruby: remove FileNames object
Not used anymore now that we return an array of strings directly.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'bindings/ruby/init.c')
| -rw-r--r-- | bindings/ruby/init.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/bindings/ruby/init.c b/bindings/ruby/init.c index db6e7e5a..e0c9936a 100644 --- a/bindings/ruby/init.c +++ b/bindings/ruby/init.c @@ -22,7 +22,6 @@ VALUE notmuch_rb_cDatabase; VALUE notmuch_rb_cDirectory; -VALUE notmuch_rb_cFileNames; VALUE notmuch_rb_cQuery; VALUE notmuch_rb_cThreads; VALUE notmuch_rb_cThread; @@ -64,7 +63,6 @@ const rb_data_type_t notmuch_rb_object_type = { define_type (database); define_type (directory); -define_type (filenames); define_type (query); define_type (threads); define_type (thread); @@ -84,7 +82,6 @@ define_type (message); * the user: * * - Notmuch::Database - * - Notmuch::FileNames * - Notmuch::Query * - Notmuch::Threads * - Notmuch::Messages @@ -295,17 +292,6 @@ Init_notmuch (void) rb_define_method (notmuch_rb_cDirectory, "child_directories", notmuch_rb_directory_get_child_directories, 0); /* in directory.c */ /* - * Document-class: Notmuch::FileNames - * - * Notmuch file names - */ - notmuch_rb_cFileNames = rb_define_class_under (mod, "FileNames", rb_cObject); - rb_undef_method (notmuch_rb_cFileNames, "initialize"); - rb_define_method (notmuch_rb_cFileNames, "destroy!", notmuch_rb_filenames_destroy, 0); /* in filenames.c */ - rb_define_method (notmuch_rb_cFileNames, "each", notmuch_rb_filenames_each, 0); /* in filenames.c */ - rb_include_module (notmuch_rb_cFileNames, rb_mEnumerable); - - /* * Document-class: Notmuch::Query * * Notmuch query |
