summaryrefslogtreecommitdiff
path: root/lib/lib.pl
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1999-12-05 14:07:20 +0000
committerMartin Baulig <martin@src.gnome.org>1999-12-05 14:07:20 +0000
commit4a2fb0a871964b3f3bfe77c4974d25fd8313f5b3 (patch)
tree8e8c8c43d34157028a3d8b4fc24de80b98533a5e /lib/lib.pl
parent5ddf25c66a85ee98bd4693c1d60cd02b99c033a2 (diff)
downloadlibgtop-4a2fb0a871964b3f3bfe77c4974d25fd8313f5b3.tar.gz
Use `array(<type>)' as return value for functions returning an array of
1999-12-05 Martin Baulig <martin@home-of-linux.org> * features.def: Use `array(<type>)' as return value for functions returning an array of structures.
Diffstat (limited to 'lib/lib.pl')
-rwxr-xr-xlib/lib.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/lib.pl b/lib/lib.pl
index e8e90653..a12979c2 100755
--- a/lib/lib.pl
+++ b/lib/lib.pl
@@ -112,6 +112,10 @@ sub output {
$prefix_space = '';
}
+ if ($retval =~ /^array\((.*)\)$/) {
+ $retval = "$1 *";
+ }
+
$check_server_code = "\n";
$check_server_code .=
"\t/* If neccessary, we ask the server for the requested\n" .