diff options
author | Miguel de Icaza <miguel@gnome.org> | 2006-10-18 01:32:31 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2006-10-18 01:32:31 +0400 |
commit | ec9154451cff566db47f4894987a05a6c98d0103 (patch) | |
tree | e18662bb70cf0a4077355229e289ad7015978407 /eglib | |
parent | cef0089c652dfd1a821ac7cb2c8f7bf89260b5b3 (diff) |
2006-10-17 Miguel de Icaza <miguel@novell.com>
* src/gutf8.c: internal methods
* src/ghashtable.c: internal methods.
svn path=/trunk/mono/; revision=66761
Diffstat (limited to 'eglib')
-rw-r--r-- | eglib/ChangeLog | 6 | ||||
-rw-r--r-- | eglib/src/ghashtable.c | 4 | ||||
-rw-r--r-- | eglib/src/gutf8.c | 4 |
3 files changed, 10 insertions, 4 deletions
diff --git a/eglib/ChangeLog b/eglib/ChangeLog index 764183599b6..a5f5edfe602 100644 --- a/eglib/ChangeLog +++ b/eglib/ChangeLog @@ -1,3 +1,9 @@ +2006-10-17 Miguel de Icaza <miguel@novell.com> + + * src/gutf8.c: internal methods + + * src/ghashtable.c: internal methods. + 2006-10-16 Miguel de Icaza <miguel@novell.com> * src/gerror.c (g_propagate_error): Implement. diff --git a/eglib/src/ghashtable.c b/eglib/src/ghashtable.c index 5d1d985426b..898ddf4ca18 100644 --- a/eglib/src/ghashtable.c +++ b/eglib/src/ghashtable.c @@ -133,7 +133,7 @@ g_hash_table_new_full (GHashFunc hash_func, GEqualFunc key_equal_func, return hash; } -void +static void do_rehash (GHashTable *hash) { int current_size, i; @@ -161,7 +161,7 @@ do_rehash (GHashTable *hash) g_free (table); } -void +static void rehash (GHashTable *hash) { int diff = ABS (hash->last_rehash, hash->in_use); diff --git a/eglib/src/gutf8.c b/eglib/src/gutf8.c index e1165663dc6..a3ebdb4ea77 100644 --- a/eglib/src/gutf8.c +++ b/eglib/src/gutf8.c @@ -104,7 +104,7 @@ g_utf8_to_utf16 (const gchar *str, glong len, glong *items_read, glong *items_wr return ret; } -glong +static glong utf8_to_utf16_len (const gchar *str, glong len, glong *items_read, GError **error) { /* It is almost identical to UTF8Encoding.GetCharCount() */ @@ -304,7 +304,7 @@ g_utf16_to_utf8 (const gunichar2 *str, glong len, glong *items_read, glong *item return ret; } -glong +static glong utf16_to_utf8_len (const gunichar2 *str, glong len, glong *items_read, GError **error) { glong ret, in_pos; |