+Thu Sep 9 13:52:26 2004 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmessages.c (g_return_if_fail_warning):
+ Include implementation of g_return_if_fail_internal().
+
Thu Sep 9 10:37:41 2004 Owen Taylor <otaylor@redhat.com>
* glib/gmessages.h (g_return_[val_]if_fail): Use
+Thu Sep 9 13:52:26 2004 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmessages.c (g_return_if_fail_warning):
+ Include implementation of g_return_if_fail_internal().
+
Thu Sep 9 10:37:41 2004 Owen Taylor <otaylor@redhat.com>
* glib/gmessages.h (g_return_[val_]if_fail): Use
+Thu Sep 9 13:52:26 2004 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmessages.c (g_return_if_fail_warning):
+ Include implementation of g_return_if_fail_internal().
+
Thu Sep 9 10:37:41 2004 Owen Taylor <otaylor@redhat.com>
* glib/gmessages.h (g_return_[val_]if_fail): Use
+Thu Sep 9 13:52:26 2004 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmessages.c (g_return_if_fail_warning):
+ Include implementation of g_return_if_fail_internal().
+
Thu Sep 9 10:37:41 2004 Owen Taylor <otaylor@redhat.com>
* glib/gmessages.h (g_return_[val_]if_fail): Use
+Thu Sep 9 13:52:26 2004 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmessages.c (g_return_if_fail_warning):
+ Include implementation of g_return_if_fail_internal().
+
Thu Sep 9 10:37:41 2004 Owen Taylor <otaylor@redhat.com>
* glib/gmessages.h (g_return_[val_]if_fail): Use
va_end (args);
}
+void
+g_return_if_fail_warning (const char *log_domain,
+ const char *pretty_function,
+ const char *expression)
+{
+ g_log (log_domain,
+ G_LOG_LEVEL_CRITICAL,
+ "%s: assertion `%s' failed",
+ pretty_function,
+ expression);
+}
+
#define CHAR_IS_SAFE(wc) (!((wc < 0x20 && wc != '\t' && wc != '\n' && wc != '\r') || \
(wc == 0x7f) || \
(wc >= 0x80 && wc < 0xa0)))