[Gtk-sharp-list] uints on public structures in Gtk#

Mike Kestner mkestner@speakeasy.net
06 Jun 2003 16:35:55 -0500


[Sorry for slow response]

On Mon, 2003-05-26 at 13:02, Miguel de Icaza wrote:

>     In a few places in Gtk# we use uints in the public API.  In some
> cases its not required that these values be uints.  This has a number of
> drawbacks:
> 
> 	* uints are not CLS compliant.

CLS compliance is on my list, but still pretty low.

> 	* In the particular case of Pixdata, the width and height are 
> 	  uints.  The problem with this is that most people will blindly
> 	  perform their own access operations:

Don't see too many 2 billion pixel wide pixbufs yet.  If any of our
metadata masters care to change those params to ints, that should be
fine.  If nobody has the time, file it in bugzilla and I'll get to it
sometime.

Mike