Rename mem allocator
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user