[Gtk-sharp-list] [patch] gdk-api.xml patch

Artemis artemis@yandex.ru
Thu, 20 Mar 2003 09:30:10 +0300 (MSK)


--------------Boundary-00=_AEB140MWKGMMYJ0CCJD0
Content-Type: text/plain;
  charset="US-ASCII"
Content-Transfer-Encoding: 7bit

>
>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.
>

I've already done custom methods for DrawLines and DrawPolygon (the attachment
is a diff to gdk/Drawable.custom).

I think this is better solution, because
when I modified metadata and regenereated the apies, the build broke
on gtk/generated/Progress.cs (Key duplication or something,
right like when I try to compile gst bindings).
Artemis

--------------Boundary-00=_AEB140MWKGMMYJ0CCJD0
Content-Disposition: attachment;
  Filename="Drawable.diff"
Content-Type: application/octet-stream;
  name="Drawable.diff"
Content-Transfer-Encoding: base64

LS0tIERyYXdhYmxlLmN1c3RvbX4JMjAwMy0wMi0yOCAxMDo1NDowMSArMDYwMAorKysgRHJhd2Fi
bGUuY3VzdG9tCTIwMDMtMDMtMjAgMTI6MTk6MTUgKzA2MDAKQEAgLTE5LDMgKzE5LDEzIEBACiB7
CiAJZ2RrX2RyYXdfcmVjdGFuZ2xlKEhhbmRsZSwgZ2MuSGFuZGxlLCBmaWxsZWQsIGFyZWEueCwg
YXJlYS55LCBhcmVhLndpZHRoLCBhcmVhLmhlaWdodCk7CiB9CisKK3B1YmxpYyB2b2lkIERyYXdQ
b2x5Z29uKEdkay5HQyBnYywgaW50IGZpbGxlZCwgR2RrLlBvaW50W10gcG9pbnRzKQoreworCWdk
a19kcmF3X3BvbHlnb24oSGFuZGxlLCBnYy5IYW5kbGUsIGZpbGxlZCwgcG9pbnRzLCBwb2ludHMu
TGVuZ3RoKTsKK30KKworcHVibGljIHZvaWQgRHJhd0xpbmVzKEdkay5HQyBnYywgR2RrLlBvaW50
W10gcG9pbnRzKQoreworCWdka19kcmF3X2xpbmVzKEhhbmRsZSwgZ2MuSGFuZGxlLCBwb2ludHMs
IHBvaW50cy5MZW5ndGgpOworfQo=

--------------Boundary-00=_AEB140MWKGMMYJ0CCJD0--