25 Nov
2022
25 Nov
'22
4:04 a.m.
Davide Beatrici (@davidebeatrici) commented about dlls/ntdll/unix/loader.c:
*/ NTSTATUS WINAPI __wine_unix_call( unixlib_handle_t handle, unsigned int code, void *args ) { - return ((unixlib_entry_t*)(UINT_PTR)handle)[code]( args ); + unixlib_entry_t *funcs = (unixlib_entry_t*)(UINT_PTR)handle; + if (funcs[code]) + return funcs[code](args); How should the code style be here?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/1543#note_17402