mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 06:33:56 +00:00
Update Event
This commit is contained in:
parent
b1bbb0df5f
commit
cb5c53d9cf
@ -667,6 +667,7 @@ func AddEvent(aeve string) int {
|
||||
eve := C.aEvent(cs)
|
||||
// Println("event@@", eve)
|
||||
geve := int(eve)
|
||||
defer C.free(unsafe.Pointer(cs))
|
||||
return geve
|
||||
}
|
||||
|
||||
@ -681,6 +682,7 @@ func LEvent(aeve string) int {
|
||||
eve := C.aEvent(cs)
|
||||
// Println("event@@", eve)
|
||||
geve := int(eve)
|
||||
defer C.free(unsafe.Pointer(cs))
|
||||
return geve
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user