/* Destroy a notmuch_tags_t object. * * It's not strictly necessary to call this function. All memory from * the notmuch_tags_t object will be reclaimed when the containing * message or query objects are destroyed. */ func (self *Tags) Destroy() { if self.tags == nil { return } C.notmuch_tags_destroy(self.tags) }
func (ts *Tags) Close() error { return (*cStruct)(ts).doClose(func() error { C.notmuch_tags_destroy(ts.toC()) return nil }) }