aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-09-28 04:28:13 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-09-28 04:28:13 +0000
commitf296289c0686ed045842717a97ab88b1eae91db9 (patch)
treeb706940ad0998ebb3a13ca0e832eae3142c7f3cf /misc
parent2fce25cdbfc4e90252977728b955d86b2940c1d6 (diff)
downloadpaludis-f296289c0686ed045842717a97ab88b1eae91db9.tar.gz
paludis-f296289c0686ed045842717a97ab88b1eae91db9.tar.xz
Add visibility support to some of the smaller libraries
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/make_sr.bash12
1 files changed, 11 insertions, 1 deletions
diff --git a/misc/make_sr.bash b/misc/make_sr.bash
index 01d692b..381c9fa 100755
--- a/misc/make_sr.bash
+++ b/misc/make_sr.bash
@@ -37,6 +37,7 @@ while read a ; do
a=${a%% *}
want_named_args=
+ want_visible=
want_keys=( )
want_key_types=( )
want_comparison_operators=
@@ -57,6 +58,11 @@ while read a ; do
want_named_args=yes
}
+ visible()
+ {
+ want_visible=yes
+ }
+
doxygen_comment()
{
:
@@ -123,7 +129,11 @@ while read a ; do
}
if [[ "${what_to_make}" == "--header" ]] ; then
- echo "class ${a}"
+ if [[ -z ${want_visible} ]] ; then
+ echo "class ${a}"
+ else
+ echo "class PALUDIS_VISIBLE ${a}"
+ fi
echo "{"
echo " public:"
echo