func setIcon(iconPth string) { cIconPth, _ := syscall.UTF16PtrFromString(iconPth) C.set_icon((*C.char)(unsafe.Pointer(cIconPth))) }
func setIcon(iconPth string) { cIconPth := C.CString(iconPth) defer C.free(unsafe.Pointer(cIconPth)) C.set_icon(cIconPth) }