mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-02 18:21:08 +00:00
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:
parent
c5b9dbc83e
commit
e7cb7cdf34
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue