diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2024-09-05 18:00:35 +0200 |
|---|---|---|
| committer | Laytan Laats <laytanlaats@hotmail.com> | 2024-09-09 18:49:13 +0200 |
| commit | 5ae27c6ebce707aa6a153cf01ab658c6b1cbdabf (patch) | |
| tree | e0794aad3550de7a4ca57e453cd55ec4730a47ac /vendor/libc/include/stdlib.h | |
| parent | d783bca2979db5955885ee6b2a06f20f8a847582 (diff) | |
wasm: support more vendor libraries
Adds support for:
- box2d
- cgltf
- stb image
- stb rect pack
Diffstat (limited to 'vendor/libc/include/stdlib.h')
| -rw-r--r-- | vendor/libc/include/stdlib.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/vendor/libc/include/stdlib.h b/vendor/libc/include/stdlib.h new file mode 100644 index 000000000..22cfc528b --- /dev/null +++ b/vendor/libc/include/stdlib.h @@ -0,0 +1,19 @@ +#include <stddef.h> + +void *malloc(size_t size); + +void *aligned_alloc(size_t alignment, size_t size); + +void free(void *); + +void *realloc(void *, size_t); + +void qsort(void* base, size_t num, size_t size, int (*compare)(const void*, const void*)); + +int atoi(const char *); +long atol(const char *); +long long atoll(const char *); + +double atof(const char *); + +long strtol(const char *, char **, int); |