diff options
author | jwoolley <jwoolley@13f79535-47bb-0310-9956-ffa450edef68> | 2002-07-03 00:15:07 +0000 |
---|---|---|
committer | jwoolley <jwoolley@13f79535-47bb-0310-9956-ffa450edef68> | 2002-07-03 00:15:07 +0000 |
commit | 1346053585004beef10a58b454bea1391c996ebd (patch) | |
tree | 3df2904789fe0293cba7b67ef177efdb3a7ffcec /include/apr_ring.h | |
parent | da98606608ec0b9e21c22f98b94fc8c99a0ac9df (diff) | |
download | libapr-1346053585004beef10a58b454bea1391c996ebd.tar.gz |
Let's get rid of these damned things once and for all... for every line
of code they save, they seem to introduce two to three bugs. :)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63555 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_ring.h')
-rw-r--r-- | include/apr_ring.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/apr_ring.h b/include/apr_ring.h index e7373ea8a..4f006e4fc 100644 --- a/include/apr_ring.h +++ b/include/apr_ring.h @@ -404,6 +404,10 @@ * APR_RING_REMOVE(ep, link); * } * </pre> + * @deprecated This macro causes more headaches than it's worth. Use + * one of the alternatives documented here instead; the clarity gained + * in what's really going on is well worth the extra line or two of code. + * This macro will be removed at some point in the future. */ #define APR_RING_FOREACH(ep, hp, elem, link) \ for ((ep) = APR_RING_FIRST((hp)); \ |