summaryrefslogtreecommitdiff
path: root/build/make_exports.awk
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2001-11-28 00:57:34 +0000
committerJeff Trawick <trawick@apache.org>2001-11-28 00:57:34 +0000
commit11a54bc130368a892476791b5bee53340ff5b4c6 (patch)
treea7619fe79d76f0e9a1767bb49300456026b928f7 /build/make_exports.awk
parent4fa32e3ebd627e1cc370fefe0b871875420c4571 (diff)
downloadapr-11a54bc130368a892476791b5bee53340ff5b4c6.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: https://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