mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
gmessages: Improve formatting of a #define in the docs
Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=790157
This commit is contained in:
parent
7f9b886c9b
commit
b778ba3e64
@ -533,7 +533,7 @@ GPrintFunc g_set_printerr_handler (GPrintFunc func);
|
||||
* the result is usually that a critical message is logged and the current
|
||||
* function returns.
|
||||
*
|
||||
* If G_DISABLE_CHECKS is defined then the check is not performed. You
|
||||
* If `G_DISABLE_CHECKS` is defined then the check is not performed. You
|
||||
* should therefore not depend on any side effects of @expr.
|
||||
*/
|
||||
#define g_return_if_fail(expr) G_STMT_START{ (void)0; }G_STMT_END
|
||||
@ -557,7 +557,7 @@ GPrintFunc g_set_printerr_handler (GPrintFunc func);
|
||||
* the result is usually that a critical message is logged and @val is
|
||||
* returned from the current function.
|
||||
*
|
||||
* If G_DISABLE_CHECKS is defined then the check is not performed. You
|
||||
* If `G_DISABLE_CHECKS` is defined then the check is not performed. You
|
||||
* should therefore not depend on any side effects of @expr.
|
||||
*/
|
||||
#define g_return_val_if_fail(expr,val) G_STMT_START{ (void)0; }G_STMT_END
|
||||
|
Loading…
Reference in New Issue
Block a user