aboutsummaryrefslogtreecommitdiff
path: root/bindings/ruby/thread.c
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2023-03-22 17:43:44 -0600
committerDavid Bremner <david@tethera.net>2023-04-02 19:00:49 -0300
commitae1336dea5cc6a221699fff260d8b44cee677f77 (patch)
treec4648b41e7d193c35d2c643ae006dbb7befcaff3 /bindings/ruby/thread.c
parent6273966d0b50541a37a652ccf6113f184eff5300 (diff)
ruby: add tags 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/thread.c')
-rw-r--r--bindings/ruby/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/ruby/thread.c b/bindings/ruby/thread.c
index 7cb2a3dc..b20ed893 100644
--- a/bindings/ruby/thread.c
+++ b/bindings/ruby/thread.c
@@ -204,5 +204,5 @@ notmuch_rb_thread_get_tags (VALUE self)
if (!tags)
rb_raise (notmuch_rb_eMemoryError, "Out of memory");
- return Data_Wrap_Notmuch_Object (notmuch_rb_cTags, &notmuch_rb_tags_type, tags);
+ return notmuch_rb_tags_get (tags);
}