Use `pointer(<type>)' as return value for functions returning an array of

1999-12-05  Martin Baulig  <martin@home-of-linux.org>

	* features.def: Use `pointer(<type>)' as return value for functions
	returning an array of scalar values (such as `unsigned' etc.).
This commit is contained in:
Martin Baulig
1999-12-05 14:54:54 +00:00
committed by Martin Baulig
parent 713a076df3
commit ca27a66593
3 changed files with 6 additions and 3 deletions

View File

@@ -112,8 +112,8 @@ sub output {
$prefix_space = '';
}
if ($retval =~ /^array\((.*)\)$/) {
$retval = "$1 *";
if ($retval =~ /^(array|pointer)\((.*)\)$/) {
$retval = "$2 *";
}
$check_server_code = "\n";