[Gtk-sharp-list] [patch] gdk-api.xml patch
19 Mar 2003 21:59:39 -0600
On Wed, 2003-03-19 at 21:28, Artemis wrote:
> I have recently tried some gdk drawing with gtk# and it looks
> like some Gdk.Drawable methods have incorrect argument types.
> I think this is fixed by adding "array="true"" to the xml description
> of arguments such as "points".
> I have attached the diff to gdk-api.xml, but this still
> requires npoints arg (this can probably be fixed by replacing
> npoints with points.Length in wrapper body).
We don't make these types of changes directly to the xml files. Those
files are generated, so any handedits would be lost the next time the
file is regenerated. We instead write rules in the .metadata files under
sources/ which perform the substitutions.
If you don't want to get down and dirty with the parser and metadata
stuff, feel free to open a bug report in bugzilla.ximian.com module gtk#
indicating which method parameters need the array attribute.
Suppressing the npoints param would be best accomplished by a .custom
addition to overload the method that is generated.
Mike Kestner <email@example.com>