| //#include <stdbool.h> | |
| //#include <stddef.h> | |
| #include "Typedef.h" | |
| #ifndef size_t | |
| #define size_t int | |
| #endif | |
| int ta_init(); | |
| void *ta_alloc(size_t num); | |
| void *ta_calloc(size_t num, size_t size); | |
| int ta_free(void *ptr); | |
| size_t ta_num_free(); | |
| size_t ta_num_used(); | |
| size_t ta_num_fresh(); | |
| int ta_check(); | |
| int mreserve(unsigned int start, unsigned int num); | |
| int is_heap_init(void); |