2002-02-09 Mike Kestner <mkestner@speakeasy.net>

* generator/StructBase.cs (GenMethod): Add handle arg to paramless
	  method call and extern.

svn path=/trunk/gtk-sharp/; revision=2280
This commit is contained in:
Mike Kestner 2002-02-09 13:58:21 +00:00
parent 4966896f1e
commit 55e63cb433
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2002-02-09 Mike Kestner <mkestner@speakeasy.net>
* generator/StructBase.cs (GenMethod): Add handle arg to paramless
method call and extern.
2002-02-08 Mike Kestner <mkestner@speakeasy.net> 2002-02-08 Mike Kestner <mkestner@speakeasy.net>
* README : Some updates. * README : Some updates.

View file

@ -129,8 +129,9 @@ namespace GtkSharp.Generation {
XmlElement parms = method["parameters"]; XmlElement parms = method["parameters"];
if (parms == null) { if (parms == null) {
call = sig = "()"; call = "(Handle)";
isig = "();"; sig = "()";
isig = "(IntPtr raw);";
sigtypes = ""; sigtypes = "";
} else if (GetSignature(parms, table, out sig, out sigtypes) && } else if (GetSignature(parms, table, out sig, out sigtypes) &&
GetImportSig(parms, table, out isig) && GetImportSig(parms, table, out isig) &&