- Timestamp:
- Oct 2, 2008 10:13:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/pool_alt.h
r2137 r2341 39 39 40 40 41 typedefstruct pj_pool_t41 struct pj_pool_t 42 42 { 43 43 struct pj_pool_mem *first_mem; … … 46 46 pj_size_t used_size; 47 47 pj_pool_callback *cb; 48 } pj_pool_t;48 }; 49 49 50 50 … … 168 168 } pj_pool_factory_policy; 169 169 170 typedefstruct pj_pool_factory170 struct pj_pool_factory 171 171 { 172 172 pj_pool_factory_policy policy; 173 173 int dummy; 174 } pj_pool_factory;174 }; 175 175 176 typedefstruct pj_caching_pool176 struct pj_caching_pool 177 177 { 178 178 pj_pool_factory factory; 179 } pj_caching_pool;180 179 180 /* just to make it compilable */ 181 unsigned used_count; 182 unsigned used_size; 183 unsigned peak_used_size; 184 }; 185 186 /* just to make it compilable */ 187 typedef struct pj_pool_block 188 { 189 int dummy; 190 } pj_pool_block; 181 191 182 192 #define pj_caching_pool_init( cp, pol, mac)
Note: See TracChangeset
for help on using the changeset viewer.