This is the mail archive of the
guile-gtk@sources.redhat.com
mailing list for the Guile project.
GdkRectangle pointer params
- From: Kevin Ryde <user42 at zip dot com dot au>
- To: guile-gtk at sources dot redhat dot com
- Date: Thu, 28 Aug 2003 10:54:35 +1000
- Subject: GdkRectangle pointer params
I think the rect type could pass a GdkRectangle as a pointer, since
that's what the gdk functions normally expect. Doesn't make a great
deal of difference, but gets rid of some interps.
* build-guile-gtk-1.2 (rect): For c2args, emit "&foo" since functions
normally expect a pointer.
* gdk-support.c, guile-gtk.h (gdk_rectangle_intersect_interp,
gdk_rectangle_union_interp): Use this.
* gdk-1.2.defs, gdk-support.c, guile-gtk.h (gdk_gc_set_clip_rectangle,
gdk_region_union_with_rect, gdk_region_rect_in): No need for _interp
any more.