aboutsummaryrefslogtreecommitdiff
path: root/bindings/ruby/threads.c
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2021-05-15 16:21:02 -0500
committerDavid Bremner <david@tethera.net>2021-05-17 07:25:14 -0300
commit9574fb60991fa81799fbd1d26d41693ca2794e6b (patch)
treeba33e4b827c0a28cab95b876ed2eb0af2fbcbb09 /bindings/ruby/threads.c
parentfba9774a81e90a179ccfa810c47a501eaf266e2b (diff)
ruby: add all data types
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'bindings/ruby/threads.c')
-rw-r--r--bindings/ruby/threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/ruby/threads.c b/bindings/ruby/threads.c
index 19e09a7e..d809b571 100644
--- a/bindings/ruby/threads.c
+++ b/bindings/ruby/threads.c
@@ -53,7 +53,7 @@ notmuch_rb_threads_each (VALUE self)
for (; notmuch_threads_valid (threads); notmuch_threads_move_to_next (threads)) {
thread = notmuch_threads_get (threads);
- rb_yield (Data_Wrap_Notmuch_Object (notmuch_rb_cThread, thread));
+ rb_yield (Data_Wrap_Notmuch_Object (notmuch_rb_cThread, &notmuch_rb_thread_type, thread));
}
return self;