update code block dividers

This commit is contained in:
Nikita Smith
2025-06-25 10:53:24 -07:00
committed by Ryan Fleury
parent 46663688e2
commit 0aadf60359
8 changed files with 79 additions and 148 deletions
+2 -7
View File
@@ -1,15 +1,11 @@
#pragma once
////////////////////////////////
typedef U32 LNK_IO_Flags;
enum
{
LNK_IO_Flags_MemoryMapFiles = (1 << 0),
};
////////////////////////////////
typedef struct
{
LNK_IO_Flags io_flags;
@@ -21,8 +17,7 @@ typedef struct
U8 *buffer;
} LNK_DiskReader;
////////////////////////////////
// Shared File API
// --- Shared File API ---------------------------------------------------------
shared_function int lnk_open_file_read(char *path, uint64_t path_size, void *handle_buffer, uint64_t handle_buffer_max);
shared_function int lnk_open_file_write(char *path, uint64_t path_size, void *handle_buffer, uint64_t handle_buffer_max);
@@ -31,7 +26,7 @@ shared_function uint64_t lnk_size_from_file(void *raw_handle);
shared_function uint64_t lnk_read_file(void *raw_handle, void *buffer, uint64_t buffer_max);
shared_function uint64_t lnk_write_file(void *raw_handle, uint64_t offset, void *buffer, uint64_t buffer_size);
////////////////////////////////
// --- IO Functions ------------------------------------------------------------
internal String8List lnk_file_search(Arena *arena, String8List dir_list, String8 file_path);