diff options
author | ianh <ianh@13f79535-47bb-0310-9956-ffa450edef68> | 2001-11-11 22:31:04 +0000 |
---|---|---|
committer | ianh <ianh@13f79535-47bb-0310-9956-ffa450edef68> | 2001-11-11 22:31:04 +0000 |
commit | 276d6fb469ec07cadf24a93877a31cc7d296a44f (patch) | |
tree | a50e5908cccd2bbf0e377767b273324dc1a0d166 /include/apr_tables.h | |
parent | a52bc82687f7799a9b2e48b37e98b84435cb7216 (diff) | |
download | libapr-276d6fb469ec07cadf24a93877a31cc7d296a44f.tar.gz |
This patch changes the apr_table_elts macro so that it provides
access to the internals of an apr_table_t via a const pointer
instead of the current non-const pointer.
Submitted by: Brian Pane <BPane@pacbell.net>
Reviewed by: Ian Holsman
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62502 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_tables.h')
-rw-r--r-- | include/apr_tables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/apr_tables.h b/include/apr_tables.h index 373c84dc4..27704b814 100644 --- a/include/apr_tables.h +++ b/include/apr_tables.h @@ -137,7 +137,7 @@ struct apr_table_entry_t { * @param t The table * @return An array containing the contents of the table */ -#define apr_table_elts(t) ((apr_array_header_t *)(t)) +#define apr_table_elts(t) ((const apr_array_header_t *)(t)) /** * Determine if the table is empty |