diff options
author | Martin Baulig <martin@home-of-linux.org> | 1999-12-05 14:07:20 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1999-12-05 14:07:20 +0000 |
commit | 4a2fb0a871964b3f3bfe77c4974d25fd8313f5b3 (patch) | |
tree | 8e8c8c43d34157028a3d8b4fc24de80b98533a5e /lib/lib.pl | |
parent | 5ddf25c66a85ee98bd4693c1d60cd02b99c033a2 (diff) | |
download | libgtop-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-x | lib/lib.pl | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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" . |