diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2001-07-16 20:49:57 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2001-07-16 20:49:57 +0000 |
commit | d025c0083399023e419a01ec6961d59c5109924a (patch) | |
tree | 867819ec55b26fb55acf46a98ce9de9caa285607 /include/apr_inherit.h | |
parent | 07508c6a032c13af6eeb73ad6162da7e33022ece (diff) | |
download | apr-d025c0083399023e419a01ec6961d59c5109924a.tar.gz |
Split public from private declaration for INHERIT stuff
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61949 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_inherit.h')
-rw-r--r-- | include/apr_inherit.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/include/apr_inherit.h b/include/apr_inherit.h index 89e045073..0d30e3fc7 100644 --- a/include/apr_inherit.h +++ b/include/apr_inherit.h @@ -65,29 +65,9 @@ extern "C" { #define APR_DECLARE_SET_INHERIT(name) \ void apr_##name##_set_inherit(apr_##name##_t *name) -#define APR_IMPLEMENT_SET_INHERIT(name, flag, pool, cleanup) \ -void apr_##name##_set_inherit(apr_##name##_t *name) \ -{ \ - if (!(name->flag & APR_INHERIT)) { \ - name->flag |= APR_INHERIT; \ - apr_pool_cleanup_register(name->pool, (void *)name, \ - NULL, cleanup); \ - } \ -} - #define APR_DECLARE_UNSET_INHERIT(name) \ void apr_##name##_unset_inherit(apr_##name##_t *name) -#define APR_IMPLEMENT_UNSET_INHERIT(name, flag, pool, cleanup) \ -void apr_##name##_unset_inherit(apr_##name##_t *name) \ -{ \ - if (name->flag & APR_INHERIT) { \ - name->flag &= ~APR_INHERIT; \ - apr_pool_cleanup_kill(name->pool, (void *)name, \ - NULL, cleanup); \ - } \ -} - #ifdef __cplusplus } #endif |