示例#1
0
func (k KyTea) Destroy() {
	C.kytea_destroy(k.kytea)
}
示例#2
0
文件: kytea.go 项目: tetsuok/kytea-go
// Destroy frees the allocated C object.
func (t *Tagger) Destroy() {
	C.kytea_destroy(t.rep)
	C.kytea_config_destroy(t.config)
	t.rep = nil
	t.config = nil
}