finished collaping arena->allocator info code paths

This commit is contained in:
2025-02-10 01:43:33 -05:00
parent fd44c53e57
commit a54d309fbf
10 changed files with 228 additions and 326 deletions
+2 -9
View File
@@ -184,16 +184,9 @@ MD_API void* os_lnx_thread_entry_point(void* ptr);
//~ rjf: @os_hooks System/Process Info (Implemented Per-OS)
inline String8
os_get_current_path(Arena* arena) {
os_get_current_path__ainfo(AllocatorInfo ainfo) {
char* cwdir = getcwd(0, 0);
String8 string = push_str8_copy(arena, str8_cstring(cwdir));
return string;
}
inline String8
os_get_current_path(AllocatorInfo ainfo) {
char* cwdir = getcwd(0, 0);
String8 string = alloc_str8_copy(ainfo, str8_cstring(cwdir));
String8 string = str8_copy(ainfo, str8_cstring(cwdir));
return string;
}