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:
committed by
Martin Baulig
parent
713a076df3
commit
ca27a66593
@@ -112,8 +112,8 @@ sub output {
|
||||
$prefix_space = '';
|
||||
}
|
||||
|
||||
if ($retval =~ /^array\((.*)\)$/) {
|
||||
$retval = "$1 *";
|
||||
if ($retval =~ /^(array|pointer)\((.*)\)$/) {
|
||||
$retval = "$2 *";
|
||||
}
|
||||
|
||||
$check_server_code = "\n";
|
||||
|
Reference in New Issue
Block a user