mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-23 18:51:04 +00:00
Fixed mismatch between Delegate and Import declarations.
This commit is contained in:
parent
6c86f654ed
commit
2ed4b0066b
|
@ -280,6 +280,10 @@ namespace Bind.Structures
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns a string representing the full non-delegate declaration without decorations.
|
||||||
|
/// (ie "(unsafe) void glXxxYyy(int a, float b, IntPtr c)"
|
||||||
|
/// </summary>
|
||||||
#region public string DeclarationString()
|
#region public string DeclarationString()
|
||||||
|
|
||||||
public string DeclarationString()
|
public string DeclarationString()
|
||||||
|
@ -290,7 +294,7 @@ namespace Bind.Structures
|
||||||
sb.Append(ReturnType);
|
sb.Append(ReturnType);
|
||||||
sb.Append(" ");
|
sb.Append(" ");
|
||||||
sb.Append(Name);
|
sb.Append(Name);
|
||||||
sb.Append(Parameters.ToString());
|
sb.Append(Parameters.ToString(true));
|
||||||
|
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
|
@ -300,8 +304,8 @@ namespace Bind.Structures
|
||||||
#region override public string ToString()
|
#region override public string ToString()
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the string representing the full function declaration without decorations
|
/// Returns a string representing the full delegate declaration without decorations.
|
||||||
/// (ie "void glClearColor(float red, float green, float blue, float alpha)"
|
/// (ie "(unsafe) void delegate glXxxYyy(int a, float b, IntPtr c)"
|
||||||
/// </summary>
|
/// </summary>
|
||||||
override public string ToString()
|
override public string ToString()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue