mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-29 20:34:11 +02:00
return guints instead of gints for g_hash_table_size and
Mon Feb 15 06:18:58 1999 Tim Janik <timj@gtk.org> * glib.h: return guints instead of gints for g_hash_table_size and g_hash_table_foreach_remove.
This commit is contained in:
@@ -229,14 +229,14 @@ g_hash_table_thaw (GHashTable *hash_table)
|
||||
g_hash_table_resize (hash_table);
|
||||
}
|
||||
|
||||
gint
|
||||
guint
|
||||
g_hash_table_foreach_remove (GHashTable *hash_table,
|
||||
GHRFunc func,
|
||||
gpointer user_data)
|
||||
{
|
||||
GHashNode *node, *prev;
|
||||
guint i;
|
||||
gint deleted = 0;
|
||||
guint deleted = 0;
|
||||
|
||||
g_return_val_if_fail (hash_table != NULL, 0);
|
||||
g_return_val_if_fail (func != NULL, 0);
|
||||
@@ -294,7 +294,7 @@ g_hash_table_foreach (GHashTable *hash_table,
|
||||
}
|
||||
|
||||
/* Returns the number of elements contained in the hash table. */
|
||||
gint
|
||||
guint
|
||||
g_hash_table_size (GHashTable *hash_table)
|
||||
{
|
||||
g_return_val_if_fail (hash_table != NULL, 0);
|
||||
|
Reference in New Issue
Block a user