mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01: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:
parent
0df89d51a4
commit
d31ba84c8e
@ -1,3 +1,8 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
Wed Feb 10 12:01:42 1999 Tim Janik <timj@gtk.org>
|
Wed Feb 10 12:01:42 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* configure.in: don't reset G_MODULE_IMPL, so it can be overridden
|
* configure.in: don't reset G_MODULE_IMPL, so it can be overridden
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
Wed Feb 10 12:01:42 1999 Tim Janik <timj@gtk.org>
|
Wed Feb 10 12:01:42 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* configure.in: don't reset G_MODULE_IMPL, so it can be overridden
|
* configure.in: don't reset G_MODULE_IMPL, so it can be overridden
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
Wed Feb 10 12:01:42 1999 Tim Janik <timj@gtk.org>
|
Wed Feb 10 12:01:42 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* configure.in: don't reset G_MODULE_IMPL, so it can be overridden
|
* configure.in: don't reset G_MODULE_IMPL, so it can be overridden
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
Wed Feb 10 12:01:42 1999 Tim Janik <timj@gtk.org>
|
Wed Feb 10 12:01:42 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* configure.in: don't reset G_MODULE_IMPL, so it can be overridden
|
* configure.in: don't reset G_MODULE_IMPL, so it can be overridden
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
Wed Feb 10 12:01:42 1999 Tim Janik <timj@gtk.org>
|
Wed Feb 10 12:01:42 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* configure.in: don't reset G_MODULE_IMPL, so it can be overridden
|
* configure.in: don't reset G_MODULE_IMPL, so it can be overridden
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
Wed Feb 10 12:01:42 1999 Tim Janik <timj@gtk.org>
|
Wed Feb 10 12:01:42 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* configure.in: don't reset G_MODULE_IMPL, so it can be overridden
|
* configure.in: don't reset G_MODULE_IMPL, so it can be overridden
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
Wed Feb 10 12:01:42 1999 Tim Janik <timj@gtk.org>
|
Wed Feb 10 12:01:42 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* configure.in: don't reset G_MODULE_IMPL, so it can be overridden
|
* configure.in: don't reset G_MODULE_IMPL, so it can be overridden
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
Wed Feb 10 12:01:42 1999 Tim Janik <timj@gtk.org>
|
Wed Feb 10 12:01:42 1999 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* configure.in: don't reset G_MODULE_IMPL, so it can be overridden
|
* configure.in: don't reset G_MODULE_IMPL, so it can be overridden
|
||||||
|
6
ghash.c
6
ghash.c
@ -229,14 +229,14 @@ g_hash_table_thaw (GHashTable *hash_table)
|
|||||||
g_hash_table_resize (hash_table);
|
g_hash_table_resize (hash_table);
|
||||||
}
|
}
|
||||||
|
|
||||||
gint
|
guint
|
||||||
g_hash_table_foreach_remove (GHashTable *hash_table,
|
g_hash_table_foreach_remove (GHashTable *hash_table,
|
||||||
GHRFunc func,
|
GHRFunc func,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
{
|
{
|
||||||
GHashNode *node, *prev;
|
GHashNode *node, *prev;
|
||||||
guint i;
|
guint i;
|
||||||
gint deleted = 0;
|
guint deleted = 0;
|
||||||
|
|
||||||
g_return_val_if_fail (hash_table != NULL, 0);
|
g_return_val_if_fail (hash_table != NULL, 0);
|
||||||
g_return_val_if_fail (func != 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. */
|
/* Returns the number of elements contained in the hash table. */
|
||||||
gint
|
guint
|
||||||
g_hash_table_size (GHashTable *hash_table)
|
g_hash_table_size (GHashTable *hash_table)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (hash_table != NULL, 0);
|
g_return_val_if_fail (hash_table != NULL, 0);
|
||||||
|
4
glib.h
4
glib.h
@ -952,10 +952,10 @@ void g_hash_table_thaw (GHashTable *hash_table);
|
|||||||
void g_hash_table_foreach (GHashTable *hash_table,
|
void g_hash_table_foreach (GHashTable *hash_table,
|
||||||
GHFunc func,
|
GHFunc func,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
gint g_hash_table_foreach_remove (GHashTable *hash_table,
|
guint g_hash_table_foreach_remove (GHashTable *hash_table,
|
||||||
GHRFunc func,
|
GHRFunc func,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
gint g_hash_table_size (GHashTable *hash_table);
|
guint g_hash_table_size (GHashTable *hash_table);
|
||||||
|
|
||||||
|
|
||||||
/* Caches
|
/* Caches
|
||||||
|
@ -229,14 +229,14 @@ g_hash_table_thaw (GHashTable *hash_table)
|
|||||||
g_hash_table_resize (hash_table);
|
g_hash_table_resize (hash_table);
|
||||||
}
|
}
|
||||||
|
|
||||||
gint
|
guint
|
||||||
g_hash_table_foreach_remove (GHashTable *hash_table,
|
g_hash_table_foreach_remove (GHashTable *hash_table,
|
||||||
GHRFunc func,
|
GHRFunc func,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
{
|
{
|
||||||
GHashNode *node, *prev;
|
GHashNode *node, *prev;
|
||||||
guint i;
|
guint i;
|
||||||
gint deleted = 0;
|
guint deleted = 0;
|
||||||
|
|
||||||
g_return_val_if_fail (hash_table != NULL, 0);
|
g_return_val_if_fail (hash_table != NULL, 0);
|
||||||
g_return_val_if_fail (func != 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. */
|
/* Returns the number of elements contained in the hash table. */
|
||||||
gint
|
guint
|
||||||
g_hash_table_size (GHashTable *hash_table)
|
g_hash_table_size (GHashTable *hash_table)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (hash_table != NULL, 0);
|
g_return_val_if_fail (hash_table != NULL, 0);
|
||||||
|
@ -952,10 +952,10 @@ void g_hash_table_thaw (GHashTable *hash_table);
|
|||||||
void g_hash_table_foreach (GHashTable *hash_table,
|
void g_hash_table_foreach (GHashTable *hash_table,
|
||||||
GHFunc func,
|
GHFunc func,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
gint g_hash_table_foreach_remove (GHashTable *hash_table,
|
guint g_hash_table_foreach_remove (GHashTable *hash_table,
|
||||||
GHRFunc func,
|
GHRFunc func,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
gint g_hash_table_size (GHashTable *hash_table);
|
guint g_hash_table_size (GHashTable *hash_table);
|
||||||
|
|
||||||
|
|
||||||
/* Caches
|
/* Caches
|
||||||
|
Loading…
Reference in New Issue
Block a user