Changed poll_fd callback definitions

This commit is contained in:
Zachary
2024-10-28 15:19:23 -07:00
parent c964310bf3
commit aa8cd7a8f2

View File

@ -1103,9 +1103,9 @@ Poll_Fd :: struct {
events: posix.Poll_Event, 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_") @(default_calling_convention = "c", link_prefix = "libusb_")
foreign lib { foreign lib {