1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

picoev: restore struct Picoev definition (#15278)

This commit is contained in:
yuyi 2022-07-30 19:30:13 +08:00 committed by GitHub
parent 6e8350a9c9
commit db79888daf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,14 +66,14 @@ struct Picoev {
loop &C.picoev_loop loop &C.picoev_loop
cb fn (voidptr, picohttpparser.Request, mut picohttpparser.Response) cb fn (voidptr, picohttpparser.Request, mut picohttpparser.Response)
err_cb fn (voidptr, picohttpparser.Request, mut picohttpparser.Response, IError) err_cb fn (voidptr, picohttpparser.Request, mut picohttpparser.Response, IError)
user_data voidptr
timeout_secs int timeout_secs int
max_headers int max_headers int
mut: mut:
user_data voidptr date &u8
date &u8 buf &u8
buf &u8 idx [1024]int
idx [1024]int out &u8
out &u8
} }
[inline] [inline]