[glib] Why is g_ptr_array_set_size take a gint instead of guint for the length parameter
- From: sduclos <sduclos cairo gmail com>
- To: gtk-list gnome org
- Subject: [glib] Why is g_ptr_array_set_size take a gint instead of guint for the length parameter
- Date: Mon, 22 Dec 2014 06:23:23 -0500
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]