From e7cb7cdf34cef444e9bef4a8ec8b1a340013f91c Mon Sep 17 00:00:00 2001 From: Stefanos A <stapostol@gmail.com> Date: Sun, 3 Nov 2013 01:22:44 +0100 Subject: [PATCH] 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. --- Source/Converter/GLXmlParser.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Converter/GLXmlParser.cs b/Source/Converter/GLXmlParser.cs index dd54ea96..f25888fe 100644 --- a/Source/Converter/GLXmlParser.cs +++ b/Source/Converter/GLXmlParser.cs @@ -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"))