// Free is a wrapper around g_slist_free(). func (v *SList) Free() { C.g_slist_free(v.native()) v.list = nil }
func (v SList) Free() { C.g_slist_free(v.GSList) }
func (self *GSList) Free() { C.g_slist_free(self.object) }