]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/ruby/threads.c
ruby: add missing Data_Get_Notmuch helpers
[notmuch] / bindings / ruby / threads.c
index ed403a8f1f3db30e88d8fd030991ae1b62b1c9e6..5885f5651ceeb100b3011557d462c8bdba29d586 100644 (file)
@@ -30,7 +30,7 @@ notmuch_rb_threads_destroy (VALUE self)
 {
     notmuch_threads_t *threads;
 
-    Data_Get_Struct (self, notmuch_threads_t, threads);
+    Data_Get_Notmuch_Threads (self, threads);
 
     notmuch_threads_destroy (threads);
     DATA_PTR (self) = NULL;