Make a bit more standalone by adding include of gerror.h. #54543.

Mon Jun  4 15:59:15 2001  Owen Taylor  <otaylor@redhat.com>

	* gunicode.h: Make a bit more standalone by adding include
	of gerror.h. #54543.

	* gunicode.h: Change size_t to g_size. (Ugh)
This commit is contained in:
Owen Taylor 2001-06-04 20:00:26 +00:00 committed by Owen Taylor
parent 1fb8a98a89
commit 2d5776656d
10 changed files with 64 additions and 8 deletions

View File

@ -1,3 +1,10 @@
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
* 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 <wilhelmi@ira.uka.de>
* grand.h (g_random_boolean, g_rand_boolean): Fix to stupid bug in

View File

@ -1,3 +1,10 @@
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
* 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 <wilhelmi@ira.uka.de>
* grand.h (g_random_boolean, g_rand_boolean): Fix to stupid bug in

View File

@ -1,3 +1,10 @@
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
* 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 <wilhelmi@ira.uka.de>
* grand.h (g_random_boolean, g_rand_boolean): Fix to stupid bug in

View File

@ -1,3 +1,10 @@
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
* 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 <wilhelmi@ira.uka.de>
* grand.h (g_random_boolean, g_rand_boolean): Fix to stupid bug in

View File

@ -1,3 +1,10 @@
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
* 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 <wilhelmi@ira.uka.de>
* grand.h (g_random_boolean, g_rand_boolean): Fix to stupid bug in

View File

@ -1,3 +1,10 @@
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
* 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 <wilhelmi@ira.uka.de>
* grand.h (g_random_boolean, g_rand_boolean): Fix to stupid bug in

View File

@ -1,3 +1,10 @@
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
* 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 <wilhelmi@ira.uka.de>
* grand.h (g_random_boolean, g_rand_boolean): Fix to stupid bug in

View File

@ -1,3 +1,10 @@
Mon Jun 4 15:59:15 2001 Owen Taylor <otaylor@redhat.com>
* 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 <wilhelmi@ira.uka.de>
* grand.h (g_random_boolean, g_rand_boolean): Fix to stupid bug in

View File

@ -22,7 +22,7 @@
#ifndef __G_UNICODE_H__
#define __G_UNICODE_H__
#include <stddef.h> /* For size_t */
#include <gerror.h>
#include <gtypes.h>
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 */

View File

@ -22,7 +22,7 @@
#ifndef __G_UNICODE_H__
#define __G_UNICODE_H__
#include <stddef.h> /* For size_t */
#include <gerror.h>
#include <gtypes.h>
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 */