]> git.cworth.org Git - notmuch/blobdiff - bindings/ruby/tags.c
ruby: add tags helper
[notmuch] / bindings / ruby / tags.c
index 2af85e36598220f1cb93e806a8080ed2c3a3b862..cc6ea59ece07ca5aacfebc8d776f28c54b593992 100644 (file)
 
 #include "defs.h"
 
+VALUE
+notmuch_rb_tags_get (notmuch_tags_t *tags)
+{
+    return Data_Wrap_Notmuch_Object (notmuch_rb_cTags, &notmuch_rb_tags_type, tags);
+}
+
 /*
  * call-seq: TAGS.destroy! => nil
  *