mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-07 07:23:18 +02:00
generator: public accessor in method overloads
This commit is contained in:
parent
53312d5fc0
commit
31e2c02e94
@ -215,7 +215,7 @@ namespace GtkSharp.Generation {
|
||||
public void GenerateOverloads (StreamWriter sw)
|
||||
{
|
||||
sw.WriteLine ();
|
||||
sw.WriteLine ("\t\t" + retval.CSType + " " + Name + "(" + (Signature != null ? Signature.WithoutOptional () : "") + ") {");
|
||||
sw.WriteLine ("\t\tpublic " + retval.CSType + " " + Name + "(" + (Signature != null ? Signature.WithoutOptional () : "") + ") {");
|
||||
sw.WriteLine ("\t\t\t{0}{1} ({2});", !retval.IsVoid ? "return " : String.Empty, Name, Signature.CallWithoutOptionals ());
|
||||
sw.WriteLine ("\t\t}");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user