Rename mem allocator

This commit is contained in:
2026-06-26 16:24:03 +01:00
parent 99d6404ec4
commit f4bffec947
31 changed files with 167 additions and 167 deletions
+3 -3
View File
@@ -63,7 +63,7 @@ CPATH_JOIN_LOOP_END:
return CPATH_JOIN_SUCCESS;
}
WpStr8 *dirup(const Allocator *allocator, WpStr8RO *path, u64 levels) {
WpStr8 *dirup(const WpAllocator *allocator, WpStr8RO *path, u64 levels) {
WpStr8 *output = NULL;
if (!allocator || !path) {
goto RETURN_DIRUP;
@@ -88,8 +88,8 @@ WpStr8 *dirup(const Allocator *allocator, WpStr8RO *path, u64 levels) {
goto RETURN_DIRUP;
}
Allocator tmp_arena = wapp_mem_arena_allocator_init(MiB(8));
if (wapp_mem_allocator_invalid(&tmp_arena)) {
WpAllocator tmp_arena = wapp_mem_arena_allocator_init(MiB(8));
if (wpMemAllocatorInvalid(&tmp_arena)) {
goto RETURN_DIRUP;
}