// Free the memory allocated to the form. Forms are not automatically // free'd by Go's garbage collection system so the memory allocated to // it must be explicitely free'd func (f *Form) Free() error { err := C.free_form(f.form) f = nil return ncursesError(syscall.Errno(err)) }
func (form *Form) Free() bool { return isOk(C.free_form((*C.FORM)(form))) }
func (f *Form) Free() error { return geterror(C.free_form(f.form)) }