mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 15:35:34 +00:00
Return type should be defined in the "type" attribute of the returns
element.
This commit is contained in:
parent
2378bef21e
commit
780d5e60c2
|
@ -164,7 +164,9 @@ namespace CHeaderToXML
|
|||
var api = Lookup(categories, cmd_name, "api");
|
||||
var deprecated = Lookup(categories, cmd_name, "deprecated");
|
||||
|
||||
var returns = new XElement("returns", FunctionParameterType(command.Element("proto")));
|
||||
var returns = new XElement(
|
||||
"returns",
|
||||
new XAttribute("type", FunctionParameterType(command.Element("proto"))));
|
||||
|
||||
foreach (var parameter in command.Elements("param"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue