mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 19:22:11 +01:00
Merge branch 'wip/smcv/warn-if-fail' into 'main'
g_warn_if_fail: Document as always evaluating expr See merge request GNOME/glib!3951
This commit is contained in:
commit
04abb73732
@ -552,6 +552,9 @@ GPrintFunc g_set_printerr_handler (GPrintFunc func);
|
||||
*
|
||||
* Logs a warning if the expression is not true.
|
||||
*
|
||||
* Unlike g_return_if_fail(), the expression is always evaluated, even if
|
||||
* checks and assertions are disabled.
|
||||
*
|
||||
* Since: 2.16
|
||||
*/
|
||||
#define g_warn_if_fail(expr) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user