Add # to debug msg

This commit is contained in:
jun7 2018-05-20 13:17:11 +09:00
parent 5c0562e6e8
commit f624b888ec
2 changed files with 4 additions and 4 deletions

View File

@ -930,8 +930,8 @@ ephy_uri_tester_load (EphyUriTester *tester)
#define EXE "wyebab" #define EXE "wyebab"
#if DEBUG #if DEBUG
# define D(f, ...) g_print(#f"\n", __VA_ARGS__); # define D(f, ...) g_print("#"#f"\n", __VA_ARGS__);
# define DD(a) g_print(#a"\n"); # define DD(a) g_print("#"#a"\n");
#else #else
# define D(f, ...) ; # define D(f, ...) ;
# define DD(a) ; # define DD(a) ;

View File

@ -43,8 +43,8 @@ along with wyebrun. If not, see <http://www.gnu.org/licenses/>.
#if DEBUG #if DEBUG
static gint64 start; static gint64 start;
# define D(f, ...) g_print(#f"\n", __VA_ARGS__); # define D(f, ...) g_print("#"#f"\n", __VA_ARGS__);
# define DD(a) g_print(#a"\n"); # define DD(a) g_print("#"#a"\n");
#else #else
# define D(...) ; # define D(...) ;
# define DD(a) ; # define DD(a) ;