]> git.cworth.org Git - notmuch/blobdiff - bindings/ruby/threads.c
ruby: add missing Data_Get_Notmuch helpers
[notmuch] / bindings / ruby / threads.c
index 3e1fbf5d01558775017334ede827447cfd7759ce..5885f5651ceeb100b3011557d462c8bdba29d586 100644 (file)
@@ -13,7 +13,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see http://www.gnu.org/licenses/ .
+ * along with this program.  If not, see https://www.gnu.org/licenses/ .
  *
  * Author: Ali Polatel <alip@exherbo.org>
  */
@@ -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;