mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
picoev: renaming, doc (#20567)
This commit is contained in:
parent
2d0ed2c1d6
commit
ee3cd36760
6 changed files with 91 additions and 65 deletions
|
@ -156,9 +156,9 @@ fn (mut pv Picoev) update_events(fd int, events int) int {
|
|||
}
|
||||
|
||||
@[direct_array_access]
|
||||
fn (mut pv Picoev) poll_once(max_wait int) int {
|
||||
fn (mut pv Picoev) poll_once(max_wait_in_sec int) int {
|
||||
ts := C.timespec{
|
||||
tv_sec: max_wait
|
||||
tv_sec: max_wait_in_sec
|
||||
tv_nsec: 0
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue