src/cx/mempool.h

changeset 742
bcf788f3f6f5
parent 727
d92a59f5d261
child 759
475335643af4
equal deleted inserted replaced
741:1210ee2d755f 742:bcf788f3f6f5
98 static inline CxMempool *cxBasicMempoolCreate(size_t capacity) { 98 static inline CxMempool *cxBasicMempoolCreate(size_t capacity) {
99 return cxMempoolCreate(capacity, NULL); 99 return cxMempoolCreate(capacity, NULL);
100 } 100 }
101 101
102 /** 102 /**
103 * Destroys a memory pool including their contents. 103 * Destroys a memory pool and frees the managed memory.
104 * 104 *
105 * @param pool the memory pool to destroy 105 * @param pool the memory pool to destroy
106 */ 106 */
107 __attribute__((__nonnull__)) 107 __attribute__((__nonnull__))
108 void cxMempoolDestroy(CxMempool *pool); 108 void cxMempoolDestroy(CxMempool *pool);

mercurial