diff options
author | jerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68> | 2002-09-02 09:27:57 +0000 |
---|---|---|
committer | jerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68> | 2002-09-02 09:27:57 +0000 |
commit | 6fabe6d57962f4f6ebbb1c986093da9b0d4e2b73 (patch) | |
tree | 0ec67f9d83da6509c013de05f962671dee8025d5 /include/apr_tables.h | |
parent | c1886d0ebc39a0b951ecddf18f68b0bab6f0e3c0 (diff) | |
download | libapr-6fabe6d57962f4f6ebbb1c986093da9b0d4e2b73.tar.gz |
Add apr_array_pop() function to apr_array_header_t.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63848 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_tables.h')
-rw-r--r-- | include/apr_tables.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/apr_tables.h b/include/apr_tables.h index 852a48ac3..1e5404002 100644 --- a/include/apr_tables.h +++ b/include/apr_tables.h @@ -161,6 +161,14 @@ APR_DECLARE(apr_array_header_t *) apr_array_make(apr_pool_t *p, APR_DECLARE(void *) apr_array_push(apr_array_header_t *arr); /** + * Remove an element from an array + * @param arr The array to remove an element from. + * @return Location of the element in the array. + * @remark If there are no elements in the array, NULL is returned. + */ +APR_DECLARE(void *) apr_array_pop(apr_array_header_t *arr); + +/** * Concatenate two arrays together * @param dst The destination array, and the one to go first in the combined * array |