mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
2002-08-31 Rachel Hestilow <hestilow@ximian.com>
* generator/Method.cs: Re-enable "if null then new" behavior for Opaques. svn path=/trunk/gtk-sharp/; revision=7163
This commit is contained in:
parent
8f1c4ce766
commit
7dd24ae681
@ -1,3 +1,8 @@
|
|||||||
|
2002-08-31 Rachel Hestilow <hestilow@ximian.com>
|
||||||
|
|
||||||
|
* generator/Method.cs: Re-enable "if null then new" behavior
|
||||||
|
for Opaques.
|
||||||
|
|
||||||
2002-08-29 Rachel Hestilow <hestilow@ximian.com>
|
2002-08-29 Rachel Hestilow <hestilow@ximian.com>
|
||||||
|
|
||||||
* glib/DelegateWrapper.cs: Forgot to add this.
|
* glib/DelegateWrapper.cs: Forgot to add this.
|
||||||
|
@ -384,7 +384,8 @@ namespace GtkSharp.Generation {
|
|||||||
{
|
{
|
||||||
sw.WriteLine(m_ret + " raw_ret = " + cname + call + ";");
|
sw.WriteLine(m_ret + " raw_ret = " + cname + call + ";");
|
||||||
sw.WriteLine(indent +"\t\t\t" + s_ret + " ret = " + SymbolTable.FromNativeReturn(rettype, "raw_ret") + ";");
|
sw.WriteLine(indent +"\t\t\t" + s_ret + " ret = " + SymbolTable.FromNativeReturn(rettype, "raw_ret") + ";");
|
||||||
// sw.WriteLine(indent + "\t\t\tif (ret == null) ret = new " + s_ret + "(raw_ret);");
|
if (SymbolTable.IsOpaque (rettype))
|
||||||
|
sw.WriteLine(indent + "\t\t\tif (ret == null) ret = new " + s_ret + "(raw_ret);");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
sw.WriteLine(m_ret + " raw_ret = " + cname + call + ";");
|
sw.WriteLine(m_ret + " raw_ret = " + cname + call + ";");
|
||||||
|
Loading…
Reference in New Issue
Block a user