mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +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) \
|
||||
(tmpb = (expr), \
|
||||
(tmpb ? (quiet ? 0 : printf ("PASS: %d %s\n", __LINE__, #expr)) \
|
||||
: (printf ("FAIL: %d %s", __LINE__, #expr), \
|
||||
(tmpb ? (quiet ? 0 : printf ("PASS: %s %s\n", G_STRLOC, #expr)) \
|
||||
: (printf ("FAIL: %s %s", G_STRLOC, #expr), \
|
||||
printf failfmt, \
|
||||
printf ("\n"), \
|
||||
retval = FALSE, \
|
||||
|
Loading…
Reference in New Issue
Block a user