+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):
+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):
+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):
+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):
+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):
+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
<SUBSECTION>
G_DIR_SEPARATOR
G_DIR_SEPARATOR_S
+G_IS_DIR_SEPARATOR
G_SEARCHPATH_SEPARATOR
G_SEARCHPATH_SEPARATOR_S
+<!-- ##### 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.
#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;
*/
#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 ";"
#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 ":"