docs/Writerside/topics/mempool.h.md

branch
docs/3.1
changeset 1174
ee473780cc0d
parent 1168
d92124c8db73
equal deleted inserted replaced
1173:99fc65d2d22b 1174:ee473780cc0d
11 For example, the UCX [string](string.h.md) functions provide several variants suffixed with `_a` for that purpose. 11 For example, the UCX [string](string.h.md) functions provide several variants suffixed with `_a` for that purpose.
12 12
13 ## Overview 13 ## Overview
14 14
15 ```C 15 ```C
16 #include <cx/mempool.h>
17
16 CxMempool *cxMempoolCreate(size_t capacity, cx_destructor_func fnc); 18 CxMempool *cxMempoolCreate(size_t capacity, cx_destructor_func fnc);
17 19
18 CxMempool *cxMempoolCreateSimple(size_t capacity); 20 CxMempool *cxMempoolCreateSimple(size_t capacity);
19 21
20 void cxMempoolFree(CxMempool *pool); 22 void cxMempoolFree(CxMempool *pool);

mercurial