aboutsummaryrefslogtreecommitdiff
path: root/runtime/src/shed/std/malloc.h
blob: 86b508264450a7a6a73a03de59a47cf39cf6f4dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef SHED_STD_MALLOC_H
#define SHED_STD_MALLOC_H

#ifdef __wasm__

void* malloc(unsigned long);
void free(void*);

#else

#include <stdlib.h>

#endif

#endif