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
@@ -107,5 +107,5 @@ void SystemArena_Cleanup(void) {
}
u8 SystemArena_IsInitalized(void) {
return __osMallocIsInitalized(&gSystemArena);
return __osMallocIsInitialized(&gSystemArena);
}