X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2Fruby%2Fquery.c;h=b0fb4ea76c245681ab72ce6af47e4d4006117efe;hp=8b46d700bdab01554c8944ec7903ea9ce8a3707e;hb=fba9774a81e90a179ccfa810c47a501eaf266e2b;hpb=c3a683299d4c27d6eadaacf4fb516f73a6c69fc3 diff --git a/bindings/ruby/query.c b/bindings/ruby/query.c index 8b46d700..b0fb4ea7 100644 --- a/bindings/ruby/query.c +++ b/bindings/ruby/query.c @@ -142,7 +142,7 @@ notmuch_rb_query_search_threads (VALUE self) if (status) notmuch_rb_status_raise (status); - return Data_Wrap_Struct (notmuch_rb_cThreads, NULL, NULL, threads); + return Data_Wrap_Notmuch_Object (notmuch_rb_cThreads, threads); } /* @@ -163,7 +163,7 @@ notmuch_rb_query_search_messages (VALUE self) if (status) notmuch_rb_status_raise (status); - return Data_Wrap_Struct (notmuch_rb_cMessages, NULL, NULL, messages); + return Data_Wrap_Notmuch_Object (notmuch_rb_cMessages, messages); } /*