interplane.Get Omega
Read in your language

klib

[Ported from github.com/attractivechaos/klib] added block arena

Brought by drakestapleton

branch master Branches Tags History

klib / kmempool.h

17 lines · 240 bytes Raw Blame History
1#ifndef AC_KMEMPOOL_H
2#define AC_KMEMPOOL_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8void *kmp_init(unsigned sz);
9void kmp_destroy(void *mp);
10void *kmp_alloc(void *mp);
11void kmp_free(void *mp, void *p);
12
13#ifdef __cplusplus
14}
15#endif
16
17#endif