diff options
Diffstat (limited to 'stalloc.h')
-rw-r--r-- | stalloc.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,8 +1,11 @@ #ifndef __STALLOC_H__ #define __STALLOC_H__ -void * st_alloc(size_t s); -char * st_strdup(const char * src); -void st_shutdown(); +struct st_alloc_t; + +struct st_alloc_t * st_init(); +void * st_alloc(struct st_alloc_t * s, size_t siz); +char * st_strdup(struct st_alloc_t * s, const char * src); +void st_destroy(struct st_alloc_t * s); #endif |