17 lines
299 B
C
17 lines
299 B
C
#ifndef AXL_H
|
|
#define AXL_H
|
|
|
|
#ifndef AXL_HEAP_SIZE
|
|
#define AXL_HEAP_SIZE 1024 * 1024 * 16
|
|
#endif
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
|
|
void axl_init(void);
|
|
void* axl_malloc(uint32_t size);
|
|
void* axl_memset(void* ptr, int8_t c, int32_t n);
|
|
void axl_free(void* ptr);
|
|
|
|
#endif
|