mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-07 19:35:50 +01:00
Make public. (#155589, Tim-Philipp Müller)
2004-10-17 Matthias Clasen <mclasen@redhat.com> * glib/gutils.h (G_IS_DIR_SEPARATOR): * glib/gutils.c: Make public. (#155589, Tim-Philipp Müller)
This commit is contained in:
parent
9fd74d6319
commit
4293525fc8
@ -1,3 +1,8 @@
|
||||
2004-10-17 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gutils.h (G_IS_DIR_SEPARATOR):
|
||||
* glib/gutils.c: Make public. (#155589, Tim-Philipp Müller)
|
||||
|
||||
2004-10-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmain.c (g_child_watch_add_full):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-10-17 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gutils.h (G_IS_DIR_SEPARATOR):
|
||||
* glib/gutils.c: Make public. (#155589, Tim-Philipp Müller)
|
||||
|
||||
2004-10-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmain.c (g_child_watch_add_full):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-10-17 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gutils.h (G_IS_DIR_SEPARATOR):
|
||||
* glib/gutils.c: Make public. (#155589, Tim-Philipp Müller)
|
||||
|
||||
2004-10-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmain.c (g_child_watch_add_full):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-10-17 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gutils.h (G_IS_DIR_SEPARATOR):
|
||||
* glib/gutils.c: Make public. (#155589, Tim-Philipp Müller)
|
||||
|
||||
2004-10-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmain.c (g_child_watch_add_full):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-10-17 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gutils.h (G_IS_DIR_SEPARATOR):
|
||||
* glib/gutils.c: Make public. (#155589, Tim-Philipp Müller)
|
||||
|
||||
2004-10-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmain.c (g_child_watch_add_full):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-10-17 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/tmpl/macros.sgml:
|
||||
* glib/glib-sections.txt: Document G_IS_DIR_SEPARATOR.
|
||||
|
||||
2004-10-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gobject/tmpl/objects.sgml: Improve the docs for
|
||||
|
@ -122,6 +122,7 @@ G_OS_UNIX
|
||||
<SUBSECTION>
|
||||
G_DIR_SEPARATOR
|
||||
G_DIR_SEPARATOR_S
|
||||
G_IS_DIR_SEPARATOR
|
||||
G_SEARCHPATH_SEPARATOR
|
||||
G_SEARCHPATH_SEPARATOR_S
|
||||
|
||||
|
@ -54,6 +54,17 @@ This is "/" on UNIX machines and "\" under Windows.
|
||||
|
||||
|
||||
|
||||
<!-- ##### MACRO G_IS_DIR_SEPARATOR ##### -->
|
||||
<para>
|
||||
Checks whether a character is a directory
|
||||
separator. It returns %TRUE for '/' on UNIX
|
||||
machines and for '\' or '/' under Windows.
|
||||
</para>
|
||||
|
||||
@c: a character
|
||||
@Since: 2.6
|
||||
|
||||
|
||||
<!-- ##### MACRO G_SEARCHPATH_SEPARATOR ##### -->
|
||||
<para>
|
||||
The search path separator character.
|
||||
|
@ -88,13 +88,6 @@
|
||||
#include <libintl.h>
|
||||
#endif
|
||||
|
||||
/* G_IS_DIR_SEPARATOR probably should be made public in GLib 2.4 */
|
||||
#ifdef G_OS_WIN32
|
||||
#define G_IS_DIR_SEPARATOR(c) (c == G_DIR_SEPARATOR || c == '/')
|
||||
#else
|
||||
#define G_IS_DIR_SEPARATOR(c) (c == G_DIR_SEPARATOR)
|
||||
#endif
|
||||
|
||||
const guint glib_major_version = GLIB_MAJOR_VERSION;
|
||||
const guint glib_minor_version = GLIB_MINOR_VERSION;
|
||||
const guint glib_micro_version = GLIB_MICRO_VERSION;
|
||||
|
@ -39,6 +39,7 @@ G_BEGIN_DECLS
|
||||
*/
|
||||
#define G_DIR_SEPARATOR '\\'
|
||||
#define G_DIR_SEPARATOR_S "\\"
|
||||
#define G_IS_DIR_SEPARATOR(c) ((c) == G_DIR_SEPARATOR || (c) == '/')
|
||||
#define G_SEARCHPATH_SEPARATOR ';'
|
||||
#define G_SEARCHPATH_SEPARATOR_S ";"
|
||||
|
||||
@ -48,6 +49,7 @@ G_BEGIN_DECLS
|
||||
|
||||
#define G_DIR_SEPARATOR '/'
|
||||
#define G_DIR_SEPARATOR_S "/"
|
||||
#define G_IS_DIR_SEPARATOR(c) ((c) == G_DIR_SEPARATOR)
|
||||
#define G_SEARCHPATH_SEPARATOR ':'
|
||||
#define G_SEARCHPATH_SEPARATOR_S ":"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user