Try to map to General_Error where possible

This commit is contained in:
gingerBill committed 2024-08-04 11:44:45 +01:00
1 parent 28666414bc
commit def2e2e271
8 files changed
+103 -7

No files matched your search

+1
View File
@@ -4,6 +4,7 @@ import win32 "core:sys/windows"
import "core:strings"
import "base:runtime"
@(require_results)
read_dir :: proc(fd: Handle, n: int, allocator := context.allocator) -> (fi: []File_Info, err: Errno) {
find_data_to_file_info :: proc(base_path: string, d: ^win32.WIN32_FIND_DATAW) -> (fi: File_Info) {
// Ignore "." and ".."