#ifndef MEMORY_H #define MEMORY_H #include #include "exception.h" void *memory_alloc(size_t size); void memory_free(void *p); void memory_set_functions(void *(*malloc_user_fun)(size_t), void (*free_user_fun)(void*)); USE_EXCEPTION(memory_default); #endif /* MEMORY_H */