Skip to content
Browse files

fixed compile error, on varargs macro

  • Loading branch information...
1 parent 1f56b4e commit 866da32be90b8690fb99183c1b121e7dc65fd949 Patrick Mullen committed Oct 3, 2009
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/rxvt.h.js
View
6 src/rxvt.h.js
@@ -229,12 +229,14 @@ f
#if DEBUG
#ifndef chr_debug_loop
-#define FUNCTION_DEBUG(function_name) print(function_name);
#define FUNCTION_DEBUG(function_name) print(function_name);
+#define VAR_DEBUG(var_name, var_val) print(var_name,var_val);
#define CASE_DEBUG(function_name) print(function_name);
#define ROW_BUF_DEBUG this.row_buf_debug();
#define ROW_IN_BUF_DEBUG(label) this.inline_row_buf_debug(label);
+#define ROW_DEBUG(label, line) this.inline_row_debug(label, (line));
+//#d efine CONSOLE_DEBUG(...) print(__VA_ARGS__);
#define CONSOLE_DEBUG(__unused__) ;
#endif
#else
@@ -243,8 +245,8 @@ f
#define ROW_DEBUG(label, line) ;
#define FUNCTION_DEBUG(function_name) ;
#define VAR_DEBUG(var_name, var_val) ;
-#define CASE_DEBUG(function_name) ;
#define CASE_DEBUG(function_name) ;
+#define CONSOLE_DEBUG(__unused__) ;
//#define ddeprintf(...) fprintf (stderr, __VA_ARGS__)

0 comments on commit 866da32

Please sign in to comment.
Something went wrong with that request. Please try again.