2000-06-21 18:11:21 +02:00
|
|
|
/* gunicode.h - Unicode manipulation functions
|
|
|
|
*
|
|
|
|
* Copyright (C) 1999, 2000 Tom Tromey
|
|
|
|
* Copyright 2000 Red Hat, Inc.
|
|
|
|
*
|
|
|
|
* The Gnome Library is free software; you can redistribute it and/or
|
2000-07-26 13:02:02 +02:00
|
|
|
* modify it under the terms of the GNU Lesser General Public License as
|
2000-06-21 18:11:21 +02:00
|
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* The Gnome Library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2000-07-26 13:02:02 +02:00
|
|
|
* Lesser General Public License for more details.
|
2000-06-21 18:11:21 +02:00
|
|
|
*
|
2000-07-26 13:02:02 +02:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2000-06-21 18:11:21 +02:00
|
|
|
* License along with the Gnome Library; see the file COPYING.LIB. If not,
|
|
|
|
* write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
Split glib.h into many header files mostly according to the resp.
2000-10-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib.h, galloca.h, garray.h, gasyncqueue.h, gbacktrace.h,
gcache.h, gcompletion.h, gconvert.h, gdataset.h, gdate.h, ghash.h,
ghook.h, giochannel.h, glist.h , gmacros.h, gmain.h, gmem.h,
gmessages.h, gnode.h, gprimes.h, gquark.h, gqueue.h, grand.h,
grel.h, gscanner.h, gslist.h, gstrfuncs.h, gstring.h, gthread.h,
gthreadpool.h, gtimer.h, gtree.h, gtypes.h, gutils.h: Split glib.h
into many header files mostly according to the resp. *.c-files.
* gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case
of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and
__END_DECLS.
* configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h,
gunicode.h, : Changed guard-macro names to something more
consistent.
* configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
2000-10-12 13:52:07 +02:00
|
|
|
#ifndef __G_UNICODE_H__
|
|
|
|
#define __G_UNICODE_H__
|
2000-06-21 18:11:21 +02:00
|
|
|
|
2000-07-10 03:28:03 +02:00
|
|
|
#include <stddef.h> /* For size_t */
|
Split glib.h into many header files mostly according to the resp.
2000-10-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib.h, galloca.h, garray.h, gasyncqueue.h, gbacktrace.h,
gcache.h, gcompletion.h, gconvert.h, gdataset.h, gdate.h, ghash.h,
ghook.h, giochannel.h, glist.h , gmacros.h, gmain.h, gmem.h,
gmessages.h, gnode.h, gprimes.h, gquark.h, gqueue.h, grand.h,
grel.h, gscanner.h, gslist.h, gstrfuncs.h, gstring.h, gthread.h,
gthreadpool.h, gtimer.h, gtree.h, gtypes.h, gutils.h: Split glib.h
into many header files mostly according to the resp. *.c-files.
* gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case
of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and
__END_DECLS.
* configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h,
gunicode.h, : Changed guard-macro names to something more
consistent.
* configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
2000-10-12 13:52:07 +02:00
|
|
|
#include <gtypes.h>
|
2000-06-21 18:11:21 +02:00
|
|
|
|
Split glib.h into many header files mostly according to the resp.
2000-10-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib.h, galloca.h, garray.h, gasyncqueue.h, gbacktrace.h,
gcache.h, gcompletion.h, gconvert.h, gdataset.h, gdate.h, ghash.h,
ghook.h, giochannel.h, glist.h , gmacros.h, gmain.h, gmem.h,
gmessages.h, gnode.h, gprimes.h, gquark.h, gqueue.h, grand.h,
grel.h, gscanner.h, gslist.h, gstrfuncs.h, gstring.h, gthread.h,
gthreadpool.h, gtimer.h, gtree.h, gtypes.h, gutils.h: Split glib.h
into many header files mostly according to the resp. *.c-files.
* gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case
of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and
__END_DECLS.
* configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h,
gunicode.h, : Changed guard-macro names to something more
consistent.
* configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
2000-10-12 13:52:07 +02:00
|
|
|
G_BEGIN_DECLS
|
2000-06-21 18:11:21 +02:00
|
|
|
|
|
|
|
typedef guint32 gunichar;
|
|
|
|
typedef guint16 gunichar2;
|
|
|
|
|
2000-11-30 00:38:24 +01:00
|
|
|
/* These are the possible character classifications.
|
|
|
|
* See http://www.unicode.org/Public/UNIDATA/UnicodeData.html
|
|
|
|
*/
|
|
|
|
typedef enum
|
|
|
|
{
|
2000-06-21 18:11:21 +02:00
|
|
|
G_UNICODE_CONTROL,
|
|
|
|
G_UNICODE_FORMAT,
|
|
|
|
G_UNICODE_UNASSIGNED,
|
|
|
|
G_UNICODE_PRIVATE_USE,
|
|
|
|
G_UNICODE_SURROGATE,
|
|
|
|
G_UNICODE_LOWERCASE_LETTER,
|
|
|
|
G_UNICODE_MODIFIER_LETTER,
|
|
|
|
G_UNICODE_OTHER_LETTER,
|
|
|
|
G_UNICODE_TITLECASE_LETTER,
|
|
|
|
G_UNICODE_UPPERCASE_LETTER,
|
|
|
|
G_UNICODE_COMBINING_MARK,
|
|
|
|
G_UNICODE_ENCLOSING_MARK,
|
|
|
|
G_UNICODE_NON_SPACING_MARK,
|
|
|
|
G_UNICODE_DECIMAL_NUMBER,
|
|
|
|
G_UNICODE_LETTER_NUMBER,
|
|
|
|
G_UNICODE_OTHER_NUMBER,
|
|
|
|
G_UNICODE_CONNECT_PUNCTUATION,
|
|
|
|
G_UNICODE_DASH_PUNCTUATION,
|
|
|
|
G_UNICODE_CLOSE_PUNCTUATION,
|
|
|
|
G_UNICODE_FINAL_PUNCTUATION,
|
|
|
|
G_UNICODE_INITIAL_PUNCTUATION,
|
|
|
|
G_UNICODE_OTHER_PUNCTUATION,
|
|
|
|
G_UNICODE_OPEN_PUNCTUATION,
|
|
|
|
G_UNICODE_CURRENCY_SYMBOL,
|
|
|
|
G_UNICODE_MODIFIER_SYMBOL,
|
|
|
|
G_UNICODE_MATH_SYMBOL,
|
|
|
|
G_UNICODE_OTHER_SYMBOL,
|
|
|
|
G_UNICODE_LINE_SEPARATOR,
|
|
|
|
G_UNICODE_PARAGRAPH_SEPARATOR,
|
|
|
|
G_UNICODE_SPACE_SEPARATOR
|
|
|
|
} GUnicodeType;
|
|
|
|
|
2000-11-30 00:38:24 +01:00
|
|
|
/* These are the possible line break classifications.
|
|
|
|
* See http://www.unicode.org/unicode/reports/tr14/
|
|
|
|
*/
|
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
G_UNICODE_BREAK_MANDATORY,
|
|
|
|
G_UNICODE_BREAK_CARRIAGE_RETURN,
|
|
|
|
G_UNICODE_BREAK_LINE_FEED,
|
|
|
|
G_UNICODE_BREAK_COMBINING_MARK,
|
|
|
|
G_UNICODE_BREAK_SURROGATE,
|
|
|
|
G_UNICODE_BREAK_ZERO_WIDTH_SPACE,
|
|
|
|
G_UNICODE_BREAK_INSEPARABLE,
|
|
|
|
G_UNICODE_BREAK_NON_BREAKING_GLUE,
|
|
|
|
G_UNICODE_BREAK_CONTINGENT,
|
|
|
|
G_UNICODE_BREAK_SPACE,
|
|
|
|
G_UNICODE_BREAK_AFTER,
|
|
|
|
G_UNICODE_BREAK_BEFORE,
|
|
|
|
G_UNICODE_BREAK_BEFORE_AND_AFTER,
|
|
|
|
G_UNICODE_BREAK_HYPHEN,
|
|
|
|
G_UNICODE_BREAK_NON_STARTER,
|
|
|
|
G_UNICODE_BREAK_OPEN_PUNCTUATION,
|
|
|
|
G_UNICODE_BREAK_CLOSE_PUNCTUATION,
|
|
|
|
G_UNICODE_BREAK_QUOTATION,
|
|
|
|
G_UNICODE_BREAK_EXCLAMATION,
|
|
|
|
G_UNICODE_BREAK_IDEOGRAPHIC,
|
|
|
|
G_UNICODE_BREAK_NUMERIC,
|
|
|
|
G_UNICODE_BREAK_INFIX_SEPARATOR,
|
|
|
|
G_UNICODE_BREAK_SYMBOL,
|
|
|
|
G_UNICODE_BREAK_ALPHABETIC,
|
|
|
|
G_UNICODE_BREAK_PREFIX,
|
|
|
|
G_UNICODE_BREAK_POSTFIX,
|
|
|
|
G_UNICODE_BREAK_COMPLEX_CONTEXT,
|
|
|
|
G_UNICODE_BREAK_AMBIGUOUS,
|
|
|
|
G_UNICODE_BREAK_UNKNOWN
|
|
|
|
} GUnicodeBreakType;
|
|
|
|
|
2000-06-21 18:11:21 +02:00
|
|
|
/* Returns TRUE if current locale uses UTF-8 charset. If CHARSET is
|
|
|
|
* not null, sets *CHARSET to the name of the current locale's
|
2000-12-17 19:43:57 +01:00
|
|
|
* charset. This value is statically allocated, and should be copied
|
|
|
|
* in case the locale's charset will be changed later using setlocale()
|
|
|
|
* or in some other way.
|
2000-06-21 18:11:21 +02:00
|
|
|
*/
|
|
|
|
gboolean g_get_charset (char **charset);
|
|
|
|
|
|
|
|
/* These are all analogs of the <ctype.h> functions.
|
|
|
|
*/
|
Mark the following functions G_GNUC_CONST (to allow betteroptimization)
2000-08-25 Elliot Lee <sopwith@redhat.com>
* glib.h, gunicode.h, gmodule/gmodule.h:
Mark the following functions G_GNUC_CONST (to allow
betteroptimization) because their results are a function of only their parameters:
g_int_hash, g_int_equal, g_direct_hash, g_direct_equal, g_quark_to_string,
g_date_is_leap_year, g_date_days_in_month, g_date_monday_weeks_in_year,
g_date_sunday_weeks_in_year, g_spaced_primes_closest, g_unichar_is*,
g_unichar_to*, g_unichar_*digit_value, g_unichar_type
2000-08-26 00:45:48 +02:00
|
|
|
gboolean g_unichar_isalnum (gunichar c) G_GNUC_CONST;
|
|
|
|
gboolean g_unichar_isalpha (gunichar c) G_GNUC_CONST;
|
|
|
|
gboolean g_unichar_iscntrl (gunichar c) G_GNUC_CONST;
|
|
|
|
gboolean g_unichar_isdigit (gunichar c) G_GNUC_CONST;
|
|
|
|
gboolean g_unichar_isgraph (gunichar c) G_GNUC_CONST;
|
|
|
|
gboolean g_unichar_islower (gunichar c) G_GNUC_CONST;
|
|
|
|
gboolean g_unichar_isprint (gunichar c) G_GNUC_CONST;
|
|
|
|
gboolean g_unichar_ispunct (gunichar c) G_GNUC_CONST;
|
|
|
|
gboolean g_unichar_isspace (gunichar c) G_GNUC_CONST;
|
|
|
|
gboolean g_unichar_isupper (gunichar c) G_GNUC_CONST;
|
|
|
|
gboolean g_unichar_isxdigit (gunichar c) G_GNUC_CONST;
|
|
|
|
gboolean g_unichar_istitle (gunichar c) G_GNUC_CONST;
|
|
|
|
gboolean g_unichar_isdefined (gunichar c) G_GNUC_CONST;
|
|
|
|
gboolean g_unichar_iswide (gunichar c) G_GNUC_CONST;
|
2000-06-21 18:11:21 +02:00
|
|
|
|
|
|
|
/* More <ctype.h> functions. These convert between the three cases.
|
|
|
|
* See the Unicode book to understand title case. */
|
Mark the following functions G_GNUC_CONST (to allow betteroptimization)
2000-08-25 Elliot Lee <sopwith@redhat.com>
* glib.h, gunicode.h, gmodule/gmodule.h:
Mark the following functions G_GNUC_CONST (to allow
betteroptimization) because their results are a function of only their parameters:
g_int_hash, g_int_equal, g_direct_hash, g_direct_equal, g_quark_to_string,
g_date_is_leap_year, g_date_days_in_month, g_date_monday_weeks_in_year,
g_date_sunday_weeks_in_year, g_spaced_primes_closest, g_unichar_is*,
g_unichar_to*, g_unichar_*digit_value, g_unichar_type
2000-08-26 00:45:48 +02:00
|
|
|
gunichar g_unichar_toupper (gunichar c) G_GNUC_CONST;
|
|
|
|
gunichar g_unichar_tolower (gunichar c) G_GNUC_CONST;
|
|
|
|
gunichar g_unichar_totitle (gunichar c) G_GNUC_CONST;
|
2000-06-21 18:11:21 +02:00
|
|
|
|
|
|
|
/* If C is a digit (according to `g_unichar_isdigit'), then return its
|
|
|
|
numeric value. Otherwise return -1. */
|
Mark the following functions G_GNUC_CONST (to allow betteroptimization)
2000-08-25 Elliot Lee <sopwith@redhat.com>
* glib.h, gunicode.h, gmodule/gmodule.h:
Mark the following functions G_GNUC_CONST (to allow
betteroptimization) because their results are a function of only their parameters:
g_int_hash, g_int_equal, g_direct_hash, g_direct_equal, g_quark_to_string,
g_date_is_leap_year, g_date_days_in_month, g_date_monday_weeks_in_year,
g_date_sunday_weeks_in_year, g_spaced_primes_closest, g_unichar_is*,
g_unichar_to*, g_unichar_*digit_value, g_unichar_type
2000-08-26 00:45:48 +02:00
|
|
|
gint g_unichar_digit_value (gunichar c) G_GNUC_CONST;
|
2000-06-21 18:11:21 +02:00
|
|
|
|
Mark the following functions G_GNUC_CONST (to allow betteroptimization)
2000-08-25 Elliot Lee <sopwith@redhat.com>
* glib.h, gunicode.h, gmodule/gmodule.h:
Mark the following functions G_GNUC_CONST (to allow
betteroptimization) because their results are a function of only their parameters:
g_int_hash, g_int_equal, g_direct_hash, g_direct_equal, g_quark_to_string,
g_date_is_leap_year, g_date_days_in_month, g_date_monday_weeks_in_year,
g_date_sunday_weeks_in_year, g_spaced_primes_closest, g_unichar_is*,
g_unichar_to*, g_unichar_*digit_value, g_unichar_type
2000-08-26 00:45:48 +02:00
|
|
|
gint g_unichar_xdigit_value (gunichar c) G_GNUC_CONST;
|
2000-06-21 18:11:21 +02:00
|
|
|
|
|
|
|
/* Return the Unicode character type of a given character. */
|
Mark the following functions G_GNUC_CONST (to allow betteroptimization)
2000-08-25 Elliot Lee <sopwith@redhat.com>
* glib.h, gunicode.h, gmodule/gmodule.h:
Mark the following functions G_GNUC_CONST (to allow
betteroptimization) because their results are a function of only their parameters:
g_int_hash, g_int_equal, g_direct_hash, g_direct_equal, g_quark_to_string,
g_date_is_leap_year, g_date_days_in_month, g_date_monday_weeks_in_year,
g_date_sunday_weeks_in_year, g_spaced_primes_closest, g_unichar_is*,
g_unichar_to*, g_unichar_*digit_value, g_unichar_type
2000-08-26 00:45:48 +02:00
|
|
|
GUnicodeType g_unichar_type (gunichar c) G_GNUC_CONST;
|
2000-06-21 18:11:21 +02:00
|
|
|
|
2000-11-30 00:38:24 +01:00
|
|
|
/* Return the line break property for a given character */
|
|
|
|
GUnicodeBreakType g_unichar_break_type (gunichar c) G_GNUC_CONST;
|
2000-06-21 18:11:21 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* Compute canonical ordering of a string in-place. This rearranges
|
|
|
|
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);
|
|
|
|
|
|
|
|
/* 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);
|
|
|
|
|
2000-07-08 14:40:09 +02:00
|
|
|
/* Array of skip-bytes-per-initial character.
|
|
|
|
* We prefix variable declarations so they can
|
|
|
|
* properly get exported in windows dlls.
|
2000-06-21 18:11:21 +02:00
|
|
|
*/
|
2000-07-08 14:40:09 +02:00
|
|
|
#ifndef GLIB_VAR
|
|
|
|
# ifdef G_OS_WIN32
|
|
|
|
# ifdef GLIB_COMPILATION
|
|
|
|
# define GLIB_VAR __declspec(dllexport)
|
|
|
|
# else /* !GLIB_COMPILATION */
|
|
|
|
# define GLIB_VAR extern __declspec(dllimport)
|
|
|
|
# endif /* !GLIB_COMPILATION */
|
|
|
|
# else /* !G_OS_WIN32 */
|
|
|
|
# define GLIB_VAR extern
|
|
|
|
# endif /* !G_OS_WIN32 */
|
|
|
|
#endif /* !GLIB_VAR */
|
|
|
|
|
|
|
|
GLIB_VAR char g_utf8_skip[256];
|
2000-06-21 18:11:21 +02:00
|
|
|
|
|
|
|
#define g_utf8_next_char(p) (char *)((p) + g_utf8_skip[*(guchar *)(p)])
|
|
|
|
|
|
|
|
gunichar g_utf8_get_char (const gchar *p);
|
|
|
|
gchar * g_utf8_offset_to_pointer (const gchar *str,
|
|
|
|
gint offset);
|
|
|
|
gint g_utf8_pointer_to_offset (const gchar *str,
|
|
|
|
const gchar *pos);
|
|
|
|
gchar * g_utf8_prev_char (const gchar *p);
|
|
|
|
gchar * g_utf8_find_next_char (const gchar *p,
|
2000-09-06 16:42:13 +02:00
|
|
|
const gchar *end);
|
2000-06-21 18:11:21 +02:00
|
|
|
gchar * g_utf8_find_prev_char (const gchar *str,
|
|
|
|
const gchar *p);
|
|
|
|
|
|
|
|
gint g_utf8_strlen (const gchar *p,
|
|
|
|
gint max);
|
|
|
|
|
|
|
|
/* Copies n characters from src to dest */
|
|
|
|
gchar *g_utf8_strncpy (gchar *dest,
|
|
|
|
const gchar *src,
|
|
|
|
size_t n);
|
|
|
|
|
|
|
|
/* Find the UTF-8 character corresponding to ch, in string p. These
|
|
|
|
functions are equivalants to strchr and strrchr */
|
|
|
|
|
|
|
|
gchar *g_utf8_strchr (const gchar *p,
|
2000-09-06 16:42:13 +02:00
|
|
|
gunichar c);
|
2000-06-21 18:11:21 +02:00
|
|
|
gchar *g_utf8_strrchr (const gchar *p,
|
2000-09-06 16:42:13 +02:00
|
|
|
gunichar c);
|
2000-06-21 18:11:21 +02:00
|
|
|
|
2001-01-05 22:22:47 +01:00
|
|
|
gunichar2 *g_utf8_to_utf16 (const gchar *str,
|
|
|
|
gint len,
|
|
|
|
gint *items_read,
|
|
|
|
gint *items_written,
|
|
|
|
GError **error);
|
|
|
|
gunichar * g_utf8_to_ucs4 (const gchar *str,
|
|
|
|
gint len,
|
|
|
|
gint *items_read,
|
|
|
|
gint *items_written,
|
|
|
|
GError **error);
|
|
|
|
gunichar * g_utf8_to_ucs4_fast (const gchar *str,
|
|
|
|
gint len,
|
|
|
|
gint *items_written);
|
|
|
|
gunichar * g_utf16_to_ucs4 (const gunichar2 *str,
|
|
|
|
gint len,
|
|
|
|
gint *items_read,
|
|
|
|
gint *items_written,
|
|
|
|
GError **error);
|
|
|
|
gchar * g_utf16_to_utf8 (const gunichar2 *str,
|
|
|
|
gint len,
|
|
|
|
gint *items_read,
|
|
|
|
gint *items_written,
|
|
|
|
GError **error);
|
|
|
|
gunichar2 *g_ucs4_to_utf16 (const gunichar *str,
|
|
|
|
gint len,
|
|
|
|
gint *items_read,
|
|
|
|
gint *items_written,
|
|
|
|
GError **error);
|
|
|
|
gchar * g_ucs4_to_utf8 (const gunichar *str,
|
|
|
|
gint len,
|
|
|
|
gint *items_read,
|
|
|
|
gint *items_written,
|
|
|
|
GError **error);
|
2000-06-21 18:11:21 +02:00
|
|
|
|
|
|
|
/* Convert a single character into UTF-8. outbuf must have at
|
|
|
|
* least 6 bytes of space. Returns the number of bytes in the
|
|
|
|
* result.
|
|
|
|
*/
|
|
|
|
gint g_unichar_to_utf8 (gunichar c,
|
|
|
|
char *outbuf);
|
|
|
|
|
2000-09-11 02:09:31 +02:00
|
|
|
/* Validate a UTF8 string, return TRUE if valid, put pointer to
|
|
|
|
* first invalid char in **end
|
|
|
|
*/
|
|
|
|
|
|
|
|
gboolean g_utf8_validate (const gchar *str,
|
2000-10-19 17:21:04 +02:00
|
|
|
gint max_len,
|
2000-09-11 02:09:31 +02:00
|
|
|
const gchar **end);
|
|
|
|
|
Split glib.h into many header files mostly according to the resp.
2000-10-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib.h, galloca.h, garray.h, gasyncqueue.h, gbacktrace.h,
gcache.h, gcompletion.h, gconvert.h, gdataset.h, gdate.h, ghash.h,
ghook.h, giochannel.h, glist.h , gmacros.h, gmain.h, gmem.h,
gmessages.h, gnode.h, gprimes.h, gquark.h, gqueue.h, grand.h,
grel.h, gscanner.h, gslist.h, gstrfuncs.h, gstring.h, gthread.h,
gthreadpool.h, gtimer.h, gtree.h, gtypes.h, gutils.h: Split glib.h
into many header files mostly according to the resp. *.c-files.
* gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case
of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and
__END_DECLS.
* configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h,
gunicode.h, : Changed guard-macro names to something more
consistent.
* configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
2000-10-12 13:52:07 +02:00
|
|
|
G_END_DECLS
|
2000-06-21 18:11:21 +02:00
|
|
|
|
Split glib.h into many header files mostly according to the resp.
2000-10-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib.h, galloca.h, garray.h, gasyncqueue.h, gbacktrace.h,
gcache.h, gcompletion.h, gconvert.h, gdataset.h, gdate.h, ghash.h,
ghook.h, giochannel.h, glist.h , gmacros.h, gmain.h, gmem.h,
gmessages.h, gnode.h, gprimes.h, gquark.h, gqueue.h, grand.h,
grel.h, gscanner.h, gslist.h, gstrfuncs.h, gstring.h, gthread.h,
gthreadpool.h, gtimer.h, gtree.h, gtypes.h, gutils.h: Split glib.h
into many header files mostly according to the resp. *.c-files.
* gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case
of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and
__END_DECLS.
* configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h,
gunicode.h, : Changed guard-macro names to something more
consistent.
* configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
2000-10-12 13:52:07 +02:00
|
|
|
#endif /* __G_UNICODE_H__ */
|