Convert "String *" to "String"

As a sideeffect of the group element definition, the parser will
convert a ptype of "const GLubyte *" with a group of "String" to
"String *", which is not the correct result. GLXmlParser will now
detect and fix this condition that affects the GetString function of
families.
This commit is contained in:
Stefanos A 2013-11-03 01:22:44 +01:00
parent c5b9dbc83e
commit e7cb7cdf34

View file

@ -359,6 +359,7 @@ namespace CHeaderToXML
FunctionParameterType(command.Element("proto"))
.Replace("const", String.Empty)
.Replace("struct", String.Empty)
.Replace("String *", "String")
.Trim()));
foreach (var parameter in command.Elements("param"))