Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/klib/blob/master/kmempool.h # klib [Ported from github.com/attractivechaos/klib] added block arena Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers 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 5 extern "C" { 6 #endif 7 8 void *kmp_init(unsigned sz); 9 void kmp_destroy(void *mp); 10 void *kmp_alloc(void *mp); 11 void kmp_free(void *mp, void *p); 12 13 #ifdef __cplusplus 14 } 15 #endif 16 17 #endif