func SetClassDefaultAttribute(classname, name, value string) { c := NewCS(classname) defer FreeCS(c) n := NewCS(name) defer FreeCS(n) v := NewCS(value) defer FreeCS(v) C.IupSetClassDefaultAttribute(c, n, v) }
func SetClassDefaultAttribute(classname, name, value string) { cClassname := C.CString(classname) defer C.free(unsafe.Pointer(cClassname)) cName := C.CString(name) defer C.free(unsafe.Pointer(cName)) cValue := C.CString(value) defer C.free(unsafe.Pointer(cValue)) C.IupSetClassDefaultAttribute(cClassname, cName, cValue) }