update os layer

This commit is contained in:
Daniel Ledda
2025-01-02 11:02:27 +01:00
parent 5f0eaedfc6
commit 39ff16b6a6
7 changed files with 71 additions and 17 deletions

12
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);
#endif