[glib] Why is g_ptr_array_set_size take a gint instead of guint for the length parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm looking for the rational of using 'gint' instead of 'guint' in the call:

g_ptr_array_set_size (GPtrArray *array, gint length);

other similar call use guint:

g_array_set_size       (GArray *farray, guint length);

and the member 'len' in GPtrArray/GArray is guint in both case!

I assume that this has been debated to death .. but I can't find where!


thxs,

Sylvain.
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux