diff options
| author | Michael Williamson <mike@zwobble.org> | 2024-02-11 21:29:15 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2024-02-11 21:29:15 +0000 |
| commit | a01ee103f9bc0c6defe9ce8cd85651f19f7127bd (patch) | |
| tree | 8634fd33dde74b4aab1519e1b61bc3343d99606f /runtime/src/alloc.h | |
| parent | 3d4e3f4a54d128a2a280b5adc921f3d95fb963bb (diff) | |
Create separate lib for patio runtime
Diffstat (limited to 'runtime/src/alloc.h')
| -rw-r--r-- | runtime/src/alloc.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/runtime/src/alloc.h b/runtime/src/alloc.h deleted file mode 100644 index 07a14436..00000000 --- a/runtime/src/alloc.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef SHED_ALLOC_H -#define SHED_ALLOC_H - -#include "./std/unistd.h" - -#ifdef __wasm__ - -void* malloc(unsigned long); -void free(void*); - -#else - -#include <stdlib.h> - -#endif - -void* shed__runtime__alloc(size_t size); - -#endif |
