mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-11 17:05:29 +00:00
2007-09-14 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs (GenInvoker): null check the sig field and set it up. This can happen when generating the marshaling types from dependent libraries instead of via the Generate method. svn path=/trunk/gtk-sharp/; revision=85831
This commit is contained in:
parent
c93ecb7f88
commit
2c82cec395
|
@ -1,3 +1,9 @@
|
||||||
|
2007-09-14 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
|
* generator/CallbackGen.cs (GenInvoker): null check the sig field
|
||||||
|
and set it up. This can happen when generating the marshaling types
|
||||||
|
from dependent libraries instead of via the Generate method.
|
||||||
|
|
||||||
2007-09-11 Mike Kestner <mkestner@novell.com>
|
2007-09-11 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* gtk/Gtk.metadata: virtual_method rules for GInterface generation.
|
* gtk/Gtk.metadata: virtual_method rules for GInterface generation.
|
||||||
|
|
|
@ -129,6 +129,9 @@ namespace GtkSharp.Generation {
|
||||||
|
|
||||||
void GenInvoker (GenerationInfo gen_info, StreamWriter sw)
|
void GenInvoker (GenerationInfo gen_info, StreamWriter sw)
|
||||||
{
|
{
|
||||||
|
if (sig == null)
|
||||||
|
sig = new Signature (parms);
|
||||||
|
|
||||||
sw.WriteLine ("\tinternal class " + Name + "Invoker {");
|
sw.WriteLine ("\tinternal class " + Name + "Invoker {");
|
||||||
sw.WriteLine ();
|
sw.WriteLine ();
|
||||||
sw.WriteLine ("\t\t" + Name + "Native native_cb;");
|
sw.WriteLine ("\t\t" + Name + "Native native_cb;");
|
||||||
|
|
Loading…
Reference in a new issue