From c964310bf303217c4005556df7ea64f666f5c11b Mon Sep 17 00:00:00 2001 From: Zachary Date: Mon, 28 Oct 2024 09:50:12 -0700 Subject: [PATCH] Changed multi pointer type of get_pollfds --- libusb.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ---