示例#1
0
func (r *rules) finalize() {
	C.yr_rules_destroy(r.cptr)
	runtime.SetFinalizer(r, nil)
}
示例#2
0
func (r *Rules) Destroy() {
	C.yr_rules_destroy(r.handle)
}