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:
Philip Withnall 2017-11-10 10:13:50 +00:00
parent 7f9b886c9b
commit b778ba3e64

View File

@ -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