diff --git a/libusb.odin b/libusb.odin index 9a1bf5e..05222da 100644 --- a/libusb.odin +++ b/libusb.odin @@ -1209,8 +1209,8 @@ foreign lib { pollfds_handle_timeouts :: proc(ctx: Context) -> c.int --- get_next_timeout :: proc(ctx: Context, tv: ^posix.timeval) --- set_poll_fd_notifiers :: proc(ctx: Context, added_cb: Poll_FD_Added_CB, removed_cb: Poll_FD_Removed_CB, user_data: rawptr) --- - get_pollfds :: proc(ctx: Context) -> ^[^]Poll_Fd --- - free_fds :: proc(pollfds: ^[^]Poll_Fd) --- + get_pollfds :: proc(ctx: Context) -> [^][^]Poll_Fd --- + free_fds :: proc(pollfds: [^][^]Poll_Fd) --- //----- Synchronous device I/O ---------------------------------- control_transfer :: proc(dev_handle: ^Device_Handle, bmRequestType: u8, bRequest: u8, wValue: u16, wIndex: u16, data: [^]u8, wLength: u16, timeout: c.uint) -> Error ---