Clean __osMalloc.c (#4351)

* Remove #ifs

* Add `NODE_IS_VALID`

* Fix current macros

* `NODE_GET_NEXT` & `NODE_GET_PREV`

* Add macros

* Use macros and general cleanup

* Fix build (hopefully)

* Address review
This commit is contained in:
Pepe20129
2024-11-12 01:46:25 +01:00
committed by GitHub
parent f12a2bbbb7
commit ffc132a01b
7 changed files with 250 additions and 159 deletions
+1 -1
View File
@@ -109,5 +109,5 @@ void DebugArena_Cleanup(void) {
}
u8 DebugArena_IsInitalized(void) {
return __osMallocIsInitalized(&sDebugArena);
return __osMallocIsInitialized(&sDebugArena);
}