mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-25 21:46:14 +01:00
Rename the GUTILS_C_VAR macro to GLIB_VAR.
2000-07-08 Tor Lillqvist <tml@iki.fi> * glib.h (GLIB_VAR): Rename the GUTILS_C_VAR macro to GLIB_VAR. * gunicode.h: Mark the g_utf8_skip array with GLIB_VAR. * glib.def: Add two missing entry points.
This commit is contained in:
parent
cf2f511198
commit
39732afc59
@ -1,3 +1,11 @@
|
|||||||
|
2000-07-08 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib.h (GLIB_VAR): Rename the GUTILS_C_VAR macro to GLIB_VAR.
|
||||||
|
|
||||||
|
* gunicode.h: Mark the g_utf8_skip array with GLIB_VAR.
|
||||||
|
|
||||||
|
* glib.def: Add two missing entry points.
|
||||||
|
|
||||||
Thu Jul 6 15:35:28 2000 Owen Taylor <otaylor@redhat.com>
|
Thu Jul 6 15:35:28 2000 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* Release 1.3.1
|
* Release 1.3.1
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2000-07-08 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib.h (GLIB_VAR): Rename the GUTILS_C_VAR macro to GLIB_VAR.
|
||||||
|
|
||||||
|
* gunicode.h: Mark the g_utf8_skip array with GLIB_VAR.
|
||||||
|
|
||||||
|
* glib.def: Add two missing entry points.
|
||||||
|
|
||||||
Thu Jul 6 15:35:28 2000 Owen Taylor <otaylor@redhat.com>
|
Thu Jul 6 15:35:28 2000 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* Release 1.3.1
|
* Release 1.3.1
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2000-07-08 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib.h (GLIB_VAR): Rename the GUTILS_C_VAR macro to GLIB_VAR.
|
||||||
|
|
||||||
|
* gunicode.h: Mark the g_utf8_skip array with GLIB_VAR.
|
||||||
|
|
||||||
|
* glib.def: Add two missing entry points.
|
||||||
|
|
||||||
Thu Jul 6 15:35:28 2000 Owen Taylor <otaylor@redhat.com>
|
Thu Jul 6 15:35:28 2000 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* Release 1.3.1
|
* Release 1.3.1
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2000-07-08 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib.h (GLIB_VAR): Rename the GUTILS_C_VAR macro to GLIB_VAR.
|
||||||
|
|
||||||
|
* gunicode.h: Mark the g_utf8_skip array with GLIB_VAR.
|
||||||
|
|
||||||
|
* glib.def: Add two missing entry points.
|
||||||
|
|
||||||
Thu Jul 6 15:35:28 2000 Owen Taylor <otaylor@redhat.com>
|
Thu Jul 6 15:35:28 2000 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* Release 1.3.1
|
* Release 1.3.1
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2000-07-08 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib.h (GLIB_VAR): Rename the GUTILS_C_VAR macro to GLIB_VAR.
|
||||||
|
|
||||||
|
* gunicode.h: Mark the g_utf8_skip array with GLIB_VAR.
|
||||||
|
|
||||||
|
* glib.def: Add two missing entry points.
|
||||||
|
|
||||||
Thu Jul 6 15:35:28 2000 Owen Taylor <otaylor@redhat.com>
|
Thu Jul 6 15:35:28 2000 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* Release 1.3.1
|
* Release 1.3.1
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2000-07-08 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib.h (GLIB_VAR): Rename the GUTILS_C_VAR macro to GLIB_VAR.
|
||||||
|
|
||||||
|
* gunicode.h: Mark the g_utf8_skip array with GLIB_VAR.
|
||||||
|
|
||||||
|
* glib.def: Add two missing entry points.
|
||||||
|
|
||||||
Thu Jul 6 15:35:28 2000 Owen Taylor <otaylor@redhat.com>
|
Thu Jul 6 15:35:28 2000 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* Release 1.3.1
|
* Release 1.3.1
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2000-07-08 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib.h (GLIB_VAR): Rename the GUTILS_C_VAR macro to GLIB_VAR.
|
||||||
|
|
||||||
|
* gunicode.h: Mark the g_utf8_skip array with GLIB_VAR.
|
||||||
|
|
||||||
|
* glib.def: Add two missing entry points.
|
||||||
|
|
||||||
Thu Jul 6 15:35:28 2000 Owen Taylor <otaylor@redhat.com>
|
Thu Jul 6 15:35:28 2000 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* Release 1.3.1
|
* Release 1.3.1
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2000-07-08 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib.h (GLIB_VAR): Rename the GUTILS_C_VAR macro to GLIB_VAR.
|
||||||
|
|
||||||
|
* gunicode.h: Mark the g_utf8_skip array with GLIB_VAR.
|
||||||
|
|
||||||
|
* glib.def: Add two missing entry points.
|
||||||
|
|
||||||
Thu Jul 6 15:35:28 2000 Owen Taylor <otaylor@redhat.com>
|
Thu Jul 6 15:35:28 2000 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* Release 1.3.1
|
* Release 1.3.1
|
||||||
|
2
glib.def
2
glib.def
@ -164,6 +164,7 @@ EXPORTS
|
|||||||
g_list_append
|
g_list_append
|
||||||
g_list_concat
|
g_list_concat
|
||||||
g_list_copy
|
g_list_copy
|
||||||
|
g_list_delete_link
|
||||||
g_list_find
|
g_list_find
|
||||||
g_list_find_custom
|
g_list_find_custom
|
||||||
g_list_first
|
g_list_first
|
||||||
@ -480,6 +481,7 @@ EXPORTS
|
|||||||
g_utf8_offset_to_pointer
|
g_utf8_offset_to_pointer
|
||||||
g_utf8_pointer_to_offset
|
g_utf8_pointer_to_offset
|
||||||
g_utf8_prev_char
|
g_utf8_prev_char
|
||||||
|
g_utf8_skip
|
||||||
g_utf8_strchr
|
g_utf8_strchr
|
||||||
g_utf8_strlen
|
g_utf8_strlen
|
||||||
g_utf8_strncpy
|
g_utf8_strncpy
|
||||||
|
24
glib.h
24
glib.h
@ -698,19 +698,19 @@ typedef gint32 GTime;
|
|||||||
*/
|
*/
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
# ifdef GLIB_COMPILATION
|
# ifdef GLIB_COMPILATION
|
||||||
# define GUTILS_C_VAR __declspec(dllexport)
|
# define GLIB_VAR __declspec(dllexport)
|
||||||
# else /* !GLIB_COMPILATION */
|
# else /* !GLIB_COMPILATION */
|
||||||
# define GUTILS_C_VAR extern __declspec(dllimport)
|
# define GLIB_VAR extern __declspec(dllimport)
|
||||||
# endif /* !GLIB_COMPILATION */
|
# endif /* !GLIB_COMPILATION */
|
||||||
#else /* !G_OS_WIN32 */
|
#else /* !G_OS_WIN32 */
|
||||||
# define GUTILS_C_VAR extern
|
# define GLIB_VAR extern
|
||||||
#endif /* !G_OS_WIN32 */
|
#endif /* !G_OS_WIN32 */
|
||||||
|
|
||||||
GUTILS_C_VAR const guint glib_major_version;
|
GLIB_VAR const guint glib_major_version;
|
||||||
GUTILS_C_VAR const guint glib_minor_version;
|
GLIB_VAR const guint glib_minor_version;
|
||||||
GUTILS_C_VAR const guint glib_micro_version;
|
GLIB_VAR const guint glib_micro_version;
|
||||||
GUTILS_C_VAR const guint glib_interface_age;
|
GLIB_VAR const guint glib_interface_age;
|
||||||
GUTILS_C_VAR const guint glib_binary_age;
|
GLIB_VAR const guint glib_binary_age;
|
||||||
|
|
||||||
#define GLIB_CHECK_VERSION(major,minor,micro) \
|
#define GLIB_CHECK_VERSION(major,minor,micro) \
|
||||||
(GLIB_MAJOR_VERSION > (major) || \
|
(GLIB_MAJOR_VERSION > (major) || \
|
||||||
@ -2833,7 +2833,7 @@ gint g_io_channel_unix_get_fd (GIOChannel *channel);
|
|||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
|
|
||||||
GUTILS_C_VAR guint g_pipe_readable_msg;
|
GLIB_VAR guint g_pipe_readable_msg;
|
||||||
|
|
||||||
#define G_WIN32_MSG_HANDLE 19981206
|
#define G_WIN32_MSG_HANDLE 19981206
|
||||||
|
|
||||||
@ -3028,9 +3028,9 @@ struct _GThreadFunctions
|
|||||||
void (*thread_self) (gpointer thread);
|
void (*thread_self) (gpointer thread);
|
||||||
};
|
};
|
||||||
|
|
||||||
GUTILS_C_VAR GThreadFunctions g_thread_functions_for_glib_use;
|
GLIB_VAR GThreadFunctions g_thread_functions_for_glib_use;
|
||||||
GUTILS_C_VAR gboolean g_thread_use_default_impl;
|
GLIB_VAR gboolean g_thread_use_default_impl;
|
||||||
GUTILS_C_VAR gboolean g_threads_got_initialized;
|
GLIB_VAR gboolean g_threads_got_initialized;
|
||||||
|
|
||||||
/* initializes the mutex/cond/private implementation for glib, might
|
/* initializes the mutex/cond/private implementation for glib, might
|
||||||
* only be called once, and must not be called directly or indirectly
|
* only be called once, and must not be called directly or indirectly
|
||||||
|
@ -164,6 +164,7 @@ EXPORTS
|
|||||||
g_list_append
|
g_list_append
|
||||||
g_list_concat
|
g_list_concat
|
||||||
g_list_copy
|
g_list_copy
|
||||||
|
g_list_delete_link
|
||||||
g_list_find
|
g_list_find
|
||||||
g_list_find_custom
|
g_list_find_custom
|
||||||
g_list_first
|
g_list_first
|
||||||
@ -480,6 +481,7 @@ EXPORTS
|
|||||||
g_utf8_offset_to_pointer
|
g_utf8_offset_to_pointer
|
||||||
g_utf8_pointer_to_offset
|
g_utf8_pointer_to_offset
|
||||||
g_utf8_prev_char
|
g_utf8_prev_char
|
||||||
|
g_utf8_skip
|
||||||
g_utf8_strchr
|
g_utf8_strchr
|
||||||
g_utf8_strlen
|
g_utf8_strlen
|
||||||
g_utf8_strncpy
|
g_utf8_strncpy
|
||||||
|
24
glib/glib.h
24
glib/glib.h
@ -698,19 +698,19 @@ typedef gint32 GTime;
|
|||||||
*/
|
*/
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
# ifdef GLIB_COMPILATION
|
# ifdef GLIB_COMPILATION
|
||||||
# define GUTILS_C_VAR __declspec(dllexport)
|
# define GLIB_VAR __declspec(dllexport)
|
||||||
# else /* !GLIB_COMPILATION */
|
# else /* !GLIB_COMPILATION */
|
||||||
# define GUTILS_C_VAR extern __declspec(dllimport)
|
# define GLIB_VAR extern __declspec(dllimport)
|
||||||
# endif /* !GLIB_COMPILATION */
|
# endif /* !GLIB_COMPILATION */
|
||||||
#else /* !G_OS_WIN32 */
|
#else /* !G_OS_WIN32 */
|
||||||
# define GUTILS_C_VAR extern
|
# define GLIB_VAR extern
|
||||||
#endif /* !G_OS_WIN32 */
|
#endif /* !G_OS_WIN32 */
|
||||||
|
|
||||||
GUTILS_C_VAR const guint glib_major_version;
|
GLIB_VAR const guint glib_major_version;
|
||||||
GUTILS_C_VAR const guint glib_minor_version;
|
GLIB_VAR const guint glib_minor_version;
|
||||||
GUTILS_C_VAR const guint glib_micro_version;
|
GLIB_VAR const guint glib_micro_version;
|
||||||
GUTILS_C_VAR const guint glib_interface_age;
|
GLIB_VAR const guint glib_interface_age;
|
||||||
GUTILS_C_VAR const guint glib_binary_age;
|
GLIB_VAR const guint glib_binary_age;
|
||||||
|
|
||||||
#define GLIB_CHECK_VERSION(major,minor,micro) \
|
#define GLIB_CHECK_VERSION(major,minor,micro) \
|
||||||
(GLIB_MAJOR_VERSION > (major) || \
|
(GLIB_MAJOR_VERSION > (major) || \
|
||||||
@ -2833,7 +2833,7 @@ gint g_io_channel_unix_get_fd (GIOChannel *channel);
|
|||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
|
|
||||||
GUTILS_C_VAR guint g_pipe_readable_msg;
|
GLIB_VAR guint g_pipe_readable_msg;
|
||||||
|
|
||||||
#define G_WIN32_MSG_HANDLE 19981206
|
#define G_WIN32_MSG_HANDLE 19981206
|
||||||
|
|
||||||
@ -3028,9 +3028,9 @@ struct _GThreadFunctions
|
|||||||
void (*thread_self) (gpointer thread);
|
void (*thread_self) (gpointer thread);
|
||||||
};
|
};
|
||||||
|
|
||||||
GUTILS_C_VAR GThreadFunctions g_thread_functions_for_glib_use;
|
GLIB_VAR GThreadFunctions g_thread_functions_for_glib_use;
|
||||||
GUTILS_C_VAR gboolean g_thread_use_default_impl;
|
GLIB_VAR gboolean g_thread_use_default_impl;
|
||||||
GUTILS_C_VAR gboolean g_threads_got_initialized;
|
GLIB_VAR gboolean g_threads_got_initialized;
|
||||||
|
|
||||||
/* initializes the mutex/cond/private implementation for glib, might
|
/* initializes the mutex/cond/private implementation for glib, might
|
||||||
* only be called once, and must not be called directly or indirectly
|
* only be called once, and must not be called directly or indirectly
|
||||||
|
@ -118,9 +118,23 @@ void g_unicode_canonical_ordering (gunichar *string,
|
|||||||
gunichar *g_unicode_canonical_decomposition (gunichar ch,
|
gunichar *g_unicode_canonical_decomposition (gunichar ch,
|
||||||
size_t *result_len);
|
size_t *result_len);
|
||||||
|
|
||||||
/* Array of skip-bytes-per-initial character
|
/* Array of skip-bytes-per-initial character.
|
||||||
|
* We prefix variable declarations so they can
|
||||||
|
* properly get exported in windows dlls.
|
||||||
*/
|
*/
|
||||||
extern char g_utf8_skip[256];
|
#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];
|
||||||
|
|
||||||
#define g_utf8_next_char(p) (char *)((p) + g_utf8_skip[*(guchar *)(p)])
|
#define g_utf8_next_char(p) (char *)((p) + g_utf8_skip[*(guchar *)(p)])
|
||||||
|
|
||||||
|
18
gunicode.h
18
gunicode.h
@ -118,9 +118,23 @@ void g_unicode_canonical_ordering (gunichar *string,
|
|||||||
gunichar *g_unicode_canonical_decomposition (gunichar ch,
|
gunichar *g_unicode_canonical_decomposition (gunichar ch,
|
||||||
size_t *result_len);
|
size_t *result_len);
|
||||||
|
|
||||||
/* Array of skip-bytes-per-initial character
|
/* Array of skip-bytes-per-initial character.
|
||||||
|
* We prefix variable declarations so they can
|
||||||
|
* properly get exported in windows dlls.
|
||||||
*/
|
*/
|
||||||
extern char g_utf8_skip[256];
|
#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];
|
||||||
|
|
||||||
#define g_utf8_next_char(p) (char *)((p) + g_utf8_skip[*(guchar *)(p)])
|
#define g_utf8_next_char(p) (char *)((p) + g_utf8_skip[*(guchar *)(p)])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user