コード例 #1
0
ファイル: object.go プロジェクト: escribano/go-libucl
// Free the memory associated with the object. This must be called when
// you're done using it.
func (o *Object) Close() error {
	C.ucl_object_unref(o.object)
	return nil
}
コード例 #2
0
ファイル: object.go プロジェクト: escribano/go-libucl
func (o *ObjectIter) Close() {
	C.ucl_object_unref(o.object)
}