summaryrefslogtreecommitdiff
path: root/deps/uvwasi/src/uvwasi_alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/uvwasi/src/uvwasi_alloc.h')
-rw-r--r--deps/uvwasi/src/uvwasi_alloc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/deps/uvwasi/src/uvwasi_alloc.h b/deps/uvwasi/src/uvwasi_alloc.h
new file mode 100644
index 0000000000..1486f31391
--- /dev/null
+++ b/deps/uvwasi/src/uvwasi_alloc.h
@@ -0,0 +1,11 @@
+#ifndef __UVWASI_ALLOC_H__
+#define __UVWASI_ALLOC_H__
+
+#include "uvwasi.h"
+
+void* uvwasi__malloc(const uvwasi_t* uvwasi, size_t size);
+void uvwasi__free(const uvwasi_t* uvwasi, void* ptr);
+void* uvwasi__calloc(const uvwasi_t* uvwasi, size_t nmemb, size_t size);
+void* uvwasi__realloc(const uvwasi_t* uvwasi, void* ptr, size_t size);
+
+#endif