For #212 BaseVertex family: invalid type of "indices" parameter

Convert void* to GLvoid * in function parameters.
TODO - const and void**
This commit is contained in:
Nigel Stewart 2013-03-18 22:22:53 -05:00
parent b7b516bf88
commit db6dbecb7a

View File

@ -240,6 +240,7 @@ sub parse_spec($)
$return =~ s/void\*/GLvoid */og; $return =~ s/void\*/GLvoid */og;
$parms =~ s/$regex{types}/$typemap{$1}/og; $parms =~ s/$regex{types}/$typemap{$1}/og;
$parms =~ s/$regex{voidtype}/$voidtypemap{$1}/og; $parms =~ s/$regex{voidtype}/$voidtypemap{$1}/og;
$parms =~ s/ void\* / GLvoid */og;
} }
# add to functions hash # add to functions hash
$functions{$name} = { $functions{$name} = {