mirror of
https://github.com/nigels-com/glew.git
synced 2025-03-09 03:03:07 +00:00
- fixed handling of arrays
This commit is contained in:
parent
dab1fe8e98
commit
f7aca0a762
@ -59,6 +59,9 @@ sub make_pfn_alias($%)
|
||||
foreach(@split_parms)
|
||||
{
|
||||
my $temp = $_;
|
||||
|
||||
#remove brackets
|
||||
$temp =~ s/\[|\]//g;
|
||||
|
||||
#trim off any whitespace
|
||||
$temp =~ s/^\s+|\s+$//g;
|
||||
@ -77,9 +80,6 @@ sub make_pfn_alias($%)
|
||||
|
||||
#replace pointer * with P
|
||||
$temp =~ s/\s*\*\s*/P/g;
|
||||
|
||||
#remove brackets
|
||||
$temp =~ s/\[|\]//g;
|
||||
|
||||
#add to parmlist...handling cases where no parm name is specified
|
||||
if($parm_name eq "")
|
||||
|
Loading…
Reference in New Issue
Block a user