Changed multi pointer type of get_pollfds

This commit is contained in:
Zachary
2024-10-28 09:50:12 -07:00
parent 5400ef419a
commit c964310bf3

View File

@ -1209,8 +1209,8 @@ foreign lib {
pollfds_handle_timeouts :: proc(ctx: Context) -> c.int --- pollfds_handle_timeouts :: proc(ctx: Context) -> c.int ---
get_next_timeout :: proc(ctx: Context, tv: ^posix.timeval) --- 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) --- 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 --- get_pollfds :: proc(ctx: Context) -> [^][^]Poll_Fd ---
free_fds :: proc(pollfds: ^[^]Poll_Fd) --- free_fds :: proc(pollfds: [^][^]Poll_Fd) ---
//----- Synchronous device I/O ---------------------------------- //----- 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 --- control_transfer :: proc(dev_handle: ^Device_Handle, bmRequestType: u8, bRequest: u8, wValue: u16, wIndex: u16, data: [^]u8, wLength: u16, timeout: c.uint) -> Error ---