diff options
| author | Felipe Contreras <felipe.contreras@gmail.com> | 2023-03-27 15:59:40 -0600 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2023-04-12 07:05:23 -0300 |
| commit | 777b02a7d7b922bcae08af1c16e475051ec7d8f3 (patch) | |
| tree | 25308f0978cf513af0310ed1e973c33e7ba4afa7 /bindings/ruby/directory.c | |
| parent | a554690d6af0ac8cb55166a20efd0f449abde389 (diff) | |
ruby: add filenames helper
Right now it doesn't do much, but it will help for further
reorganization.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'bindings/ruby/directory.c')
| -rw-r--r-- | bindings/ruby/directory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings/ruby/directory.c b/bindings/ruby/directory.c index 910f0a99..f267d82f 100644 --- a/bindings/ruby/directory.c +++ b/bindings/ruby/directory.c @@ -87,7 +87,7 @@ notmuch_rb_directory_get_child_files (VALUE self) fnames = notmuch_directory_get_child_files (dir); - return Data_Wrap_Notmuch_Object (notmuch_rb_cFileNames, ¬much_rb_filenames_type, fnames); + return notmuch_rb_filenames_get (fnames); } /* @@ -106,5 +106,5 @@ notmuch_rb_directory_get_child_directories (VALUE self) fnames = notmuch_directory_get_child_directories (dir); - return Data_Wrap_Notmuch_Object (notmuch_rb_cFileNames, ¬much_rb_filenames_type, fnames); + return notmuch_rb_filenames_get (fnames); } |
