mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
all: remove ancient deprecations (#23479)
This commit is contained in:
parent
40b574b409
commit
6b92f8fada
27 changed files with 26 additions and 383 deletions
|
@ -68,9 +68,6 @@ pub struct Picoev {
|
|||
max_headers int = 100
|
||||
max_read int = 4096
|
||||
max_write int = 8192
|
||||
|
||||
err_cb fn (voidptr, picohttpparser.Request, mut picohttpparser.Response, IError) = default_error_callback @[deprecated: 'use `error_callback` instead']
|
||||
raw_cb fn (mut Picoev, int, int) = unsafe { nil } @[deprecated: 'use `raw_callback` instead']
|
||||
mut:
|
||||
loop &LoopType = unsafe { nil }
|
||||
file_descriptors [max_fds]&Target
|
||||
|
@ -116,13 +113,6 @@ pub fn (mut pv Picoev) add(fd int, events int, timeout int, callback voidptr) in
|
|||
return 0
|
||||
}
|
||||
|
||||
// del remove a file descriptor from the event loop
|
||||
@[deprecated: 'use delete() instead']
|
||||
@[direct_array_access]
|
||||
pub fn (mut pv Picoev) del(fd int) int {
|
||||
return pv.delete(fd)
|
||||
}
|
||||
|
||||
// remove a file descriptor from the event loop
|
||||
@[direct_array_access]
|
||||
pub fn (mut pv Picoev) delete(fd int) int {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue