예제 #1
0
// 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
func (o *ObjectIter) Close() {
	C.ucl_object_unref(o.object)
}