Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 15813 invoked by uid 500); 7 Jul 2001 18:53:18 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 15802 invoked by uid 1327); 7 Jul 2001 18:53:17 -0000 Date: 7 Jul 2001 18:53:17 -0000 Message-ID: <20010707185317.15801.qmail@apache.org> From: jerenkrantz@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/include apr_pools.h jerenkrantz 01/07/07 11:53:17 Modified: include apr_pools.h Log: When David moved the code from lib/ to memory/unix, they made these functions accessible only when APR_POOL_DEBUG is defined. They forgot to update the headers. This gets us building again. David's POOLS_ARE_SMS patch has better reorganization (and includes this fix). This works for now. Revision Changes Path 1.51 +14 -14 apr/include/apr_pools.h Index: apr_pools.h =================================================================== RCS file: /home/cvs/apr/include/apr_pools.h,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- apr_pools.h 2001/06/13 16:10:16 1.50 +++ apr_pools.h 2001/07/07 18:53:17 1.51 @@ -156,6 +156,20 @@ */ APR_DECLARE(apr_pool_t *) apr_find_pool(const void *ts); +/** + * Report the number of bytes currently in the pool + * @param p The pool to inspect + * @param recurse Recurse/include the subpools' sizes + * @return The number of bytes + */ +APR_DECLARE(apr_size_t) apr_pool_num_bytes(apr_pool_t *p, int recurse); + +/** + * Report the number of bytes currently in the list of free blocks + * @return The number of bytes + */ +APR_DECLARE(apr_size_t) apr_pool_free_blocks_num_bytes(void); + /* @} */ #else @@ -299,20 +313,6 @@ * @remark This will actually free the memory */ APR_DECLARE(void) apr_pool_destroy(apr_pool_t *p); - -/** - * Report the number of bytes currently in the pool - * @param p The pool to inspect - * @param recurse Recurse/include the subpools' sizes - * @return The number of bytes - */ -APR_DECLARE(apr_size_t) apr_pool_num_bytes(apr_pool_t *p, int recurse); - -/** - * Report the number of bytes currently in the list of free blocks - * @return The number of bytes - */ -APR_DECLARE(apr_size_t) apr_pool_free_blocks_num_bytes(void); /** * Allocate a block of memory from a pool