Changed poll_fd callback definitions
This commit is contained in:
@ -1103,9 +1103,9 @@ Poll_Fd :: struct {
|
||||
events: posix.Poll_Event,
|
||||
}
|
||||
|
||||
Poll_FD_Added_CB :: #type proc "c" (fd: c.int, events: posix.Poll_Event, user_date: rawptr)
|
||||
Poll_FD_Added_CB :: #type proc "c" (fd: posix.FD, events: posix.Poll_Event, user_data: rawptr)
|
||||
|
||||
Poll_FD_Removed_CB :: #type proc "c" (fd: c.int, user_data: rawptr)
|
||||
Poll_FD_Removed_CB :: #type proc "c" (fd: posix.FD, user_data: rawptr)
|
||||
|
||||
@(default_calling_convention = "c", link_prefix = "libusb_")
|
||||
foreign lib {
|
||||
|
Reference in New Issue
Block a user