mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 04:36:17 +01:00
Move the declaration of g_return_if_fail_warning() out of the ifdefs, so
2004-09-29 Matthias Clasen <mclasen@redhat.com> * glib/gmessages.h: Move the declaration of g_return_if_fail_warning() out of the ifdefs, so that building with G_DISABLE_ASSERT works.
This commit is contained in:
parent
aedac9883b
commit
208a69d450
@ -1,3 +1,9 @@
|
||||
2004-09-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmessages.h: Move the declaration of
|
||||
g_return_if_fail_warning() out of the ifdefs, so that
|
||||
building with G_DISABLE_ASSERT works.
|
||||
|
||||
2004-09-27 Murray Cumming <murrayc@murrayc.com>
|
||||
|
||||
* glib/goptions.[h|c], glib/glib.symbols: Rename
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-09-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmessages.h: Move the declaration of
|
||||
g_return_if_fail_warning() out of the ifdefs, so that
|
||||
building with G_DISABLE_ASSERT works.
|
||||
|
||||
2004-09-27 Murray Cumming <murrayc@murrayc.com>
|
||||
|
||||
* glib/goptions.[h|c], glib/glib.symbols: Rename
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-09-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmessages.h: Move the declaration of
|
||||
g_return_if_fail_warning() out of the ifdefs, so that
|
||||
building with G_DISABLE_ASSERT works.
|
||||
|
||||
2004-09-27 Murray Cumming <murrayc@murrayc.com>
|
||||
|
||||
* glib/goptions.[h|c], glib/glib.symbols: Rename
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-09-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmessages.h: Move the declaration of
|
||||
g_return_if_fail_warning() out of the ifdefs, so that
|
||||
building with G_DISABLE_ASSERT works.
|
||||
|
||||
2004-09-27 Murray Cumming <murrayc@murrayc.com>
|
||||
|
||||
* glib/goptions.[h|c], glib/glib.symbols: Rename
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-09-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmessages.h: Move the declaration of
|
||||
g_return_if_fail_warning() out of the ifdefs, so that
|
||||
building with G_DISABLE_ASSERT works.
|
||||
|
||||
2004-09-27 Murray Cumming <murrayc@murrayc.com>
|
||||
|
||||
* glib/goptions.[h|c], glib/glib.symbols: Rename
|
||||
|
@ -108,6 +108,11 @@ void _g_log_fallback_handler (const gchar *log_domain,
|
||||
const gchar *message,
|
||||
gpointer unused_data) G_GNUC_INTERNAL;
|
||||
|
||||
/* Internal function, used to implement the following macros */
|
||||
void g_return_if_fail_warning (const char *log_domain,
|
||||
const char *pretty_function,
|
||||
const char *expression);
|
||||
|
||||
|
||||
#ifndef G_LOG_DOMAIN
|
||||
#define G_LOG_DOMAIN ((gchar*) 0)
|
||||
@ -269,11 +274,6 @@ GPrintFunc g_set_printerr_handler (GPrintFunc func);
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
||||
/* Internal function, used to implement following macros */
|
||||
void g_return_if_fail_warning (const char *log_domain,
|
||||
const char *pretty_function,
|
||||
const char *expression);
|
||||
|
||||
#define g_return_if_fail(expr) G_STMT_START{ \
|
||||
if G_LIKELY(expr) { } else \
|
||||
{ \
|
||||
|
Loading…
Reference in New Issue
Block a user