src/cx/mempool.h

changeset 743
6fa38285c6b4
parent 727
d92a59f5d261
child 759
475335643af4
equal deleted inserted replaced
738:54b1d577551b 743:6fa38285c6b4
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