summaryrefslogtreecommitdiff
path: root/pjlib/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-03-05 00:58:24 +0000
committerBenny Prijono <bennylp@teluu.com>2007-03-05 00:58:24 +0000
commit998f05896130fb3cfbfdd03a145164d2067cd042 (patch)
treef413ebd9fb244c43e7d794de0abba0500b709446 /pjlib/include
parent2f268d0332d061cea83e3a3e410c4c57a1680ce4 (diff)
Implemented new STUN server framework
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1040 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include')
-rw-r--r--pjlib/include/pj/pool.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/pjlib/include/pj/pool.h b/pjlib/include/pj/pool.h
index e4225905..06cdd037 100644
--- a/pjlib/include/pj/pool.h
+++ b/pjlib/include/pj/pool.h
@@ -442,7 +442,7 @@ PJ_IDECL(pj_size_t) pj_pool_get_used_size( pj_pool_t *pool );
*
* @return pointer to the allocated memory.
*
- * @see PJ_POOL_ALLOC_TYPE
+ * @see PJ_POOL_ALLOC_T
*/
PJ_IDECL(void*) pj_pool_alloc( pj_pool_t *pool, pj_size_t size);
@@ -469,7 +469,7 @@ PJ_IDECL(void*) pj_pool_calloc( pj_pool_t *pool, pj_size_t count,
*
* @return Pointer to the allocated memory.
*
- * @see PJ_POOL_ZALLOC_TYPE
+ * @see PJ_POOL_ZALLOC_T
*/
PJ_INLINE(void*) pj_pool_zalloc(pj_pool_t *pool, pj_size_t size)
{
@@ -488,7 +488,7 @@ PJ_INLINE(void*) pj_pool_zalloc(pj_pool_t *pool, pj_size_t size)
*
* @return Memory buffer of the specified type.
*/
-#define PJ_POOL_ALLOC_TYPE(pool,type) \
+#define PJ_POOL_ALLOC_T(pool,type) \
((type*)pj_pool_alloc(pool, sizeof(type)))
/**
@@ -502,7 +502,7 @@ PJ_INLINE(void*) pj_pool_zalloc(pj_pool_t *pool, pj_size_t size)
*
* @return Memory buffer of the specified type.
*/
-#define PJ_POOL_ZALLOC_TYPE(pool,type) \
+#define PJ_POOL_ZALLOC_T(pool,type) \
((type*)pj_pool_zalloc(pool, sizeof(type)))