This commit is contained in:
Daniel Ledda
2025-01-11 13:12:22 +01:00
parent d7c3bb4868
commit 54ef57b90f
14 changed files with 2543 additions and 235 deletions

12
djstdlib/os.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef OS_H
#define OS_H
#include "core.h"
// ### Memory ###
void *os_alloc(size_t capacity);
void os_reserve(void *ptr);
void os_decommit(void *ptr);
void os_free(void *ptr, size_t freeSize);
#endif