#ifndef TOKSVC_MEMFN_IMPL_H
#define TOKSVC_MEMFN_IMPL_H
#include <stdint.h>
struct toks_memory_block {
void * addr;
size_t size;
size_t used;
size_t avail;
size_t buffer[];
};
void * toks_calloc(size_t n, size_t size);
void toks_free(void * addr);
void * toks_balloc(
struct toks_memory_block * cache,
struct toks_memory_block * block,
size_t n, size_t size);
#endif