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>
* README : Some updates.

View File

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