mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-02 23:23:55 +00:00
update getPid type to int32
This commit is contained in:
parent
69b4f4210f
commit
b5f3ccb41f
@ -1322,9 +1322,9 @@ func GetTitle() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// GetPID get the process id
|
// GetPID get the process id
|
||||||
func GetPID() int {
|
func GetPID() int32 {
|
||||||
pid := C.get_PID()
|
pid := C.get_PID()
|
||||||
return int(pid)
|
return int32(pid)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Pids get the all process id
|
// Pids get the all process id
|
||||||
|
Loading…
Reference in New Issue
Block a user