#ifndef _EMULIBC_H1#define _EMULIBC_H23#include <stddef.h>45// mark an entry point or callback pointer6#define ECL_ENTRY __attribute__((ms_abi))7// mark a visible symbol8#define ECL_EXPORT __attribute__((visibility("default")))910// allocate memory from the "sealed" pool. this memory can never be freed,11// and can only be allocated or written to during the init phase. after that, the host12// seals the pool, making it read only and all of its contents frozen. good for LUTs and13// ROMs14void *alloc_sealed(size_t size);1516// allocate memory from the "invisible" pool. this memory can never be freed.17// this memory is not savestated! this should only be used for a large buffer whose contents18// you are absolutely sure will not harm savestates19void *alloc_invisible(size_t size);2021// send a debug string somewhere, bypassing stdio22void _debug_puts(const char *);2324#endif252627