mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
Use G_STRLOC instead __LINE__
This commit is contained in:
parent
a667ee8e5e
commit
c368c6e425
@ -53,8 +53,8 @@
|
|||||||
|
|
||||||
#define CQTESTF(quiet, expr, failfmt) \
|
#define CQTESTF(quiet, expr, failfmt) \
|
||||||
(tmpb = (expr), \
|
(tmpb = (expr), \
|
||||||
(tmpb ? (quiet ? 0 : printf ("PASS: %d %s\n", __LINE__, #expr)) \
|
(tmpb ? (quiet ? 0 : printf ("PASS: %s %s\n", G_STRLOC, #expr)) \
|
||||||
: (printf ("FAIL: %d %s", __LINE__, #expr), \
|
: (printf ("FAIL: %s %s", G_STRLOC, #expr), \
|
||||||
printf failfmt, \
|
printf failfmt, \
|
||||||
printf ("\n"), \
|
printf ("\n"), \
|
||||||
retval = FALSE, \
|
retval = FALSE, \
|
||||||
|
Loading…
Reference in New Issue
Block a user