s/size_t/gsize/ to match prototypes.

Fri Jul 20 14:11:29 2001  Owen Taylor  <otaylor@redhat.com>

	* glib/gutf8.c glib/gunidecomp.c: s/size_t/gsize/ to match
	prototypes.
This commit is contained in:
Owen Taylor
2001-07-20 18:12:10 +00:00
committed by Owen Taylor
parent 847d8e9212
commit 6d7ee81303
10 changed files with 120 additions and 14 deletions

View File

@@ -41,9 +41,9 @@
/* Compute the canonical ordering of a string in-place. */
void
g_unicode_canonical_ordering (gunichar *string,
size_t len)
gsize len)
{
size_t i;
gsize i;
int swap = 1;
while (swap)
@@ -56,7 +56,7 @@ g_unicode_canonical_ordering (gunichar *string,
int next = COMBINING_CLASS (string[i + 1]);
if (next != 0 && last > next)
{
size_t j;
gsize j;
/* Percolate item leftward through string. */
for (j = i; j > 0; --j)
{
@@ -123,7 +123,7 @@ find_decomposition (gunichar ch,
gunichar *
g_unicode_canonical_decomposition (gunichar ch,
size_t *result_len)
gsize *result_len)
{
guchar *decomp = find_decomposition (ch, FALSE);
gunichar *r;
@@ -263,7 +263,7 @@ _g_utf8_normalize_wc (const gchar *str,
gunichar wc = g_utf8_get_char (p);
guchar *decomp;
int cc;
size_t old_n_wc = n_wc;
gsize old_n_wc = n_wc;
decomp = find_decomposition (wc, do_compat);