summaryrefslogtreecommitdiff
path: root/build/make_exports.awk
diff options
context:
space:
mode:
authorbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2002-07-16 10:08:36 +0000
committerbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2002-07-16 10:08:36 +0000
commit40024f6e965713ddada7829265ba407ca122bf7e (patch)
treeb9a0e2081a43b17d32e8cdd10e02365e9b4a2f2a /build/make_exports.awk
parent79999f6d50d7ad0895364d74293ba7f276616411 (diff)
downloadlibapr-40024f6e965713ddada7829265ba407ca122bf7e.tar.gz
Export functions declared by APR_DECLARE_INHERIT_SET/UNSET macros.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63687 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/make_exports.awk')
-rw-r--r--build/make_exports.awk14
1 files changed, 14 insertions, 0 deletions
diff --git a/build/make_exports.awk b/build/make_exports.awk
index 09651f2af..eefc1a945 100644
--- a/build/make_exports.awk
+++ b/build/make_exports.awk
@@ -104,6 +104,20 @@ function add_symbol(symbol) {
next
}
+/^[ \t]*APR_DECLARE_INHERIT_SET[^(]*[(][^)]*[)]/ {
+ sub("[ \t]*APR_DECLARE_INHERIT_SET[^(]*[(]", "", $0)
+ sub("[)].*$", "", $0)
+ add_symbol("apr_" $0 "_inherit_set")
+ next
+}
+
+/^[ \t]*APR_DECLARE_INHERIT_UNSET[^(]*[(][^)]*[)]/ {
+ sub("[ \t]*APR_DECLARE_INHERIT_UNSET[^(]*[(]", "", $0)
+ sub("[)].*$", "", $0)
+ add_symbol("apr_" $0 "_inherit_unset")
+ next
+}
+
/^#[ \t]*if(ndef| !defined[(])([^_]*_)*H/ {
enter_scope(TYPE_HEADER)
next