// String returns the string representation of the ACL. func (acl *ACL) String() string { cs, _ := C.acl_to_text(acl.a, nil) if cs == nil { return "" } defer C.acl_free(unsafe.Pointer(cs)) return C.GoString(cs) }
// Free releases the memory used by the ACL. func (acl *ACL) Free() { C.acl_free(unsafe.Pointer(acl.a)) }
func Free(this *ACL) { C.acl_free(unsafe.Pointer(this.ptr)) }