]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/ruby/init.c
ruby: move towards more modern RTypedData
[notmuch] / bindings / ruby / init.c
index 819fd1e35dc87a85945b57791149748910134ce3..f3b2e5b19ea5700e080bc2c995e13b65200ce3e9 100644 (file)
@@ -46,6 +46,10 @@ ID ID_call;
 ID ID_db_create;
 ID ID_db_mode;
 
+const rb_data_type_t notmuch_rb_object_type = {
+    .wrap_struct_name = "notmuch_object",
+};
+
 /*
  * Document-module: Notmuch
  *