summaryrefslogtreecommitdiff
path: root/build/make_exports.awk
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2001-11-28 00:57:34 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2001-11-28 00:57:34 +0000
commitbf6041d60ac554157ffae29c9f1e010f64c73c87 (patch)
treea7619fe79d76f0e9a1767bb49300456026b928f7 /build/make_exports.awk
parentff3ef54c647aa30c074e1c4eb819c405856565f1 (diff)
downloadlibapr-bf6041d60ac554157ffae29c9f1e010f64c73c87.tar.gz
recognize the symbols generated by APR_POOL_DECLARE_ACCESSOR() so
that exports.c and the .exp files have the necessary references git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62572 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/make_exports.awk')
-rw-r--r--build/make_exports.awk7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/make_exports.awk b/build/make_exports.awk
index b50768125..f9ee2561f 100644
--- a/build/make_exports.awk
+++ b/build/make_exports.awk
@@ -97,6 +97,13 @@ function add_symbol(symbol) {
next
}
+/^[ \t]*APR_POOL_DECLARE_ACCESSOR[^(]*[(][^)]*[)]/ {
+ sub("[ \t]*APR_POOL_DECLARE_ACCESSOR[^(]*[(]", "", $0)
+ sub("[)].*$", "", $0)
+ add_symbol("apr_" $0 "_pool_get")
+ next
+}
+
/^#[ \t]*if(ndef| !defined[(])([^_]*_)*H/ {
enter_scope(TYPE_HEADER)
next