zenity/internal/zenutil/env_windows.go
2022-06-07 00:03:34 +01:00

14 lines
210 B
Go

package zenutil
import "strconv"
// These are internal.
var (
Separator string
LineBreak = "\r\n"
)
func ParseWindowId(id string) uintptr {
hwnd, _ := strconv.ParseUint(id, 0, 64)
return uintptr(hwnd)
}