Compare commits
No commits in common. "9cb65162096d2f5a31a703aa6f3f0eaf98a4664e" and "410c3cf504f54d47f2088e0c6eb5691bf692d334" have entirely different histories.
9cb6516209
...
410c3cf504
|
|
@ -1,6 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <stdbool.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <stdbool.h>
|
||||||
extern unsigned char __heap_base;
|
extern unsigned char __heap_base;
|
||||||
|
|
||||||
#define IMPORT(name) __attribute__((import_module("env"), import_name(#name)))
|
#define IMPORT(name) __attribute__((import_module("env"), import_name(#name)))
|
||||||
|
|
@ -12,7 +12,6 @@ typedef uint32_t size_t;
|
||||||
|
|
||||||
EXPORT(malloc) void* malloc(size_t);
|
EXPORT(malloc) void* malloc(size_t);
|
||||||
EXPORT(free) void free(void*);
|
EXPORT(free) void free(void*);
|
||||||
EXPORT(realloc) void* realloc(void*, size_t);
|
|
||||||
|
|
||||||
void* memset(void* s, uint8_t c, uint32_t n);
|
void* memset(void* s, uint8_t c, uint32_t n);
|
||||||
void* memcpy(void* dest, const void* src, uint32_t n);
|
void* memcpy(void* dest, const void* src, uint32_t n);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue