Changeset 1040 for pjproject/trunk/pjlib/include/pj/pool.h
- Timestamp:
- Mar 5, 2007 12:58:24 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/pool.h
r992 r1040 443 443 * @return pointer to the allocated memory. 444 444 * 445 * @see PJ_POOL_ALLOC_T YPE445 * @see PJ_POOL_ALLOC_T 446 446 */ 447 447 PJ_IDECL(void*) pj_pool_alloc( pj_pool_t *pool, pj_size_t size); … … 470 470 * @return Pointer to the allocated memory. 471 471 * 472 * @see PJ_POOL_ZALLOC_T YPE472 * @see PJ_POOL_ZALLOC_T 473 473 */ 474 474 PJ_INLINE(void*) pj_pool_zalloc(pj_pool_t *pool, pj_size_t size) … … 489 489 * @return Memory buffer of the specified type. 490 490 */ 491 #define PJ_POOL_ALLOC_T YPE(pool,type) \491 #define PJ_POOL_ALLOC_T(pool,type) \ 492 492 ((type*)pj_pool_alloc(pool, sizeof(type))) 493 493 … … 503 503 * @return Memory buffer of the specified type. 504 504 */ 505 #define PJ_POOL_ZALLOC_T YPE(pool,type) \505 #define PJ_POOL_ZALLOC_T(pool,type) \ 506 506 ((type*)pj_pool_zalloc(pool, sizeof(type))) 507 507
Note: See TracChangeset
for help on using the changeset viewer.