From: Owen Taylor Date: Mon, 4 Jun 2001 20:00:26 +0000 (+0000) Subject: Make a bit more standalone by adding include of gerror.h. #54543. X-Git-Tag: GLIB_1_3_6~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d5776656de3b4ed721aa9aeb25bc935de2a8c41;p=platform%2Fupstream%2Fglib.git Make a bit more standalone by adding include of gerror.h. #54543. Mon Jun 4 15:59:15 2001 Owen Taylor * gunicode.h: Make a bit more standalone by adding include of gerror.h. #54543. * gunicode.h: Change size_t to g_size. (Ugh) --- diff --git a/ChangeLog b/ChangeLog index 98ae6ec..4e94c5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Mon Jun 4 15:59:15 2001 Owen Taylor + + * gunicode.h: Make a bit more standalone by adding include + of gerror.h. #54543. + + * gunicode.h: Change size_t to g_size. (Ugh) + 2001-05-31 Sebastian Wilhelmi * grand.h (g_random_boolean, g_rand_boolean): Fix to stupid bug in diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 98ae6ec..4e94c5f 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,10 @@ +Mon Jun 4 15:59:15 2001 Owen Taylor + + * gunicode.h: Make a bit more standalone by adding include + of gerror.h. #54543. + + * gunicode.h: Change size_t to g_size. (Ugh) + 2001-05-31 Sebastian Wilhelmi * grand.h (g_random_boolean, g_rand_boolean): Fix to stupid bug in diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 98ae6ec..4e94c5f 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +Mon Jun 4 15:59:15 2001 Owen Taylor + + * gunicode.h: Make a bit more standalone by adding include + of gerror.h. #54543. + + * gunicode.h: Change size_t to g_size. (Ugh) + 2001-05-31 Sebastian Wilhelmi * grand.h (g_random_boolean, g_rand_boolean): Fix to stupid bug in diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 98ae6ec..4e94c5f 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,10 @@ +Mon Jun 4 15:59:15 2001 Owen Taylor + + * gunicode.h: Make a bit more standalone by adding include + of gerror.h. #54543. + + * gunicode.h: Change size_t to g_size. (Ugh) + 2001-05-31 Sebastian Wilhelmi * grand.h (g_random_boolean, g_rand_boolean): Fix to stupid bug in diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 98ae6ec..4e94c5f 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,10 @@ +Mon Jun 4 15:59:15 2001 Owen Taylor + + * gunicode.h: Make a bit more standalone by adding include + of gerror.h. #54543. + + * gunicode.h: Change size_t to g_size. (Ugh) + 2001-05-31 Sebastian Wilhelmi * grand.h (g_random_boolean, g_rand_boolean): Fix to stupid bug in diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 98ae6ec..4e94c5f 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,10 @@ +Mon Jun 4 15:59:15 2001 Owen Taylor + + * gunicode.h: Make a bit more standalone by adding include + of gerror.h. #54543. + + * gunicode.h: Change size_t to g_size. (Ugh) + 2001-05-31 Sebastian Wilhelmi * grand.h (g_random_boolean, g_rand_boolean): Fix to stupid bug in diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 98ae6ec..4e94c5f 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +Mon Jun 4 15:59:15 2001 Owen Taylor + + * gunicode.h: Make a bit more standalone by adding include + of gerror.h. #54543. + + * gunicode.h: Change size_t to g_size. (Ugh) + 2001-05-31 Sebastian Wilhelmi * grand.h (g_random_boolean, g_rand_boolean): Fix to stupid bug in diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 98ae6ec..4e94c5f 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +Mon Jun 4 15:59:15 2001 Owen Taylor + + * gunicode.h: Make a bit more standalone by adding include + of gerror.h. #54543. + + * gunicode.h: Change size_t to g_size. (Ugh) + 2001-05-31 Sebastian Wilhelmi * grand.h (g_random_boolean, g_rand_boolean): Fix to stupid bug in diff --git a/glib/gunicode.h b/glib/gunicode.h index cee0d70..d0836ad 100644 --- a/glib/gunicode.h +++ b/glib/gunicode.h @@ -22,7 +22,7 @@ #ifndef __G_UNICODE_H__ #define __G_UNICODE_H__ -#include /* For size_t */ +#include #include G_BEGIN_DECLS @@ -151,13 +151,13 @@ GUnicodeBreakType g_unichar_break_type (gunichar c) G_GNUC_CONST; decomposed characters in the string according to their combining classes. See the Unicode manual for more information. */ void g_unicode_canonical_ordering (gunichar *string, - size_t len); + gsize len); /* Compute canonical decomposition of a character. Returns g_malloc()d string of Unicode characters. RESULT_LEN is set to the resulting length of the string. */ gunichar *g_unicode_canonical_decomposition (gunichar ch, - size_t *result_len); + gsize *result_len); /* Array of skip-bytes-per-initial character. * We prefix variable declarations so they can @@ -184,7 +184,7 @@ gint g_utf8_strlen (const gchar *p, /* Copies n characters from src to dest */ gchar* g_utf8_strncpy (gchar *dest, const gchar *src, - size_t n); + gsize n); /* Find the UTF-8 character corresponding to ch, in string p. These functions are equivalants to strchr and strrchr */ diff --git a/gunicode.h b/gunicode.h index cee0d70..d0836ad 100644 --- a/gunicode.h +++ b/gunicode.h @@ -22,7 +22,7 @@ #ifndef __G_UNICODE_H__ #define __G_UNICODE_H__ -#include /* For size_t */ +#include #include G_BEGIN_DECLS @@ -151,13 +151,13 @@ GUnicodeBreakType g_unichar_break_type (gunichar c) G_GNUC_CONST; decomposed characters in the string according to their combining classes. See the Unicode manual for more information. */ void g_unicode_canonical_ordering (gunichar *string, - size_t len); + gsize len); /* Compute canonical decomposition of a character. Returns g_malloc()d string of Unicode characters. RESULT_LEN is set to the resulting length of the string. */ gunichar *g_unicode_canonical_decomposition (gunichar ch, - size_t *result_len); + gsize *result_len); /* Array of skip-bytes-per-initial character. * We prefix variable declarations so they can @@ -184,7 +184,7 @@ gint g_utf8_strlen (const gchar *p, /* Copies n characters from src to dest */ gchar* g_utf8_strncpy (gchar *dest, const gchar *src, - size_t n); + gsize n); /* Find the UTF-8 character corresponding to ch, in string p. These functions are equivalants to strchr and strrchr */