Standard setup for writing C inspired by Casey Muratori, Ryan Fleury, Mr. 4th Programmer, and others in the handmade community.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

os.h 204 B

2 weeks ago
2 weeks ago
2 weeks ago
123456789101112
  1. #ifndef OS_H
  2. #define OS_H
  3. #include "core.h"
  4. // ### Memory ###
  5. void *os_alloc(size_t capacity);
  6. void os_reserve(void *ptr);
  7. void os_decommit(void *ptr);
  8. void os_free(void *ptr, size_t freeSize);
  9. #endif