Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 6774 invoked by uid 500); 7 Jul 2001 02:51:46 -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 6763 invoked by uid 1259); 7 Jul 2001 02:51:44 -0000 Date: 7 Jul 2001 02:51:44 -0000 Message-ID: <20010707025144.6762.qmail@apache.org> From: jwoolley@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/include apr_tables.h jwoolley 01/07/06 19:51:44 Modified: include apr_tables.h Log: Document what the function passed to apr_table_[v]do() should return to indicate whether iteration should continue. Submitted by: Joe Orton Reviewed by: Cliff Woolley Revision Changes Path 1.19 +2 -2 apr/include/apr_tables.h Index: apr_tables.h =================================================================== RCS file: /home/cvs/apr/include/apr_tables.h,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -u -r1.18 -r1.19 --- apr_tables.h 2001/06/29 09:01:41 1.18 +++ apr_tables.h 2001/07/07 02:51:43 1.19 @@ -366,7 +366,7 @@ * element in the table. If there is data passed in as a vararg, then the * function is only run on those element's whose key matches something in * the vararg. If the vararg is NULL, then every element is run through the - * function. + * function. Iteration continues while the function returns non-zero. * @param comp The function to run * @param rec The data to pass as the first argument to the function * @param t The table to iterate over @@ -383,7 +383,7 @@ * element in the table. If there is data passed in as a vararg, then the * function is only run on those element's whose key matches something in * the vararg. If the vararg is NULL, then every element is run through the - * function. + * function. Iteration continues while the function returns non-zero. * @param comp The function to run * @param rec The data to pass as the first argument to the function * @param t The table to iterate over