[Rcpp-commits] r936 - pkg/Rcpp/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Mar 23 11:15:10 CET 2010
Author: romain
Date: 2010-03-23 11:15:10 +0100 (Tue, 23 Mar 2010)
New Revision: 936
Modified:
pkg/Rcpp/src/RcppCommon.h
Log:
minor reformatting
Modified: pkg/Rcpp/src/RcppCommon.h
===================================================================
--- pkg/Rcpp/src/RcppCommon.h 2010-03-23 10:08:19 UTC (rev 935)
+++ pkg/Rcpp/src/RcppCommon.h 2010-03-23 10:15:10 UTC (rev 936)
@@ -194,13 +194,17 @@
#ifndef logTxt
#if RCPP_DEBUG_LEVEL > 0
#define logTxt(x) ::logTxtFunction(__FILE__, __LINE__, x);
- #define RCPP_DEBUG( fmt , ... ) Rprintf( "%s:%d " fmt "\n" , __FILE__, __LINE__,##__VA_ARGS__ ) ;
#else
#define logTxt(x)
- #define RCPP_DEBUG( fmt , ... )
#endif
#endif
+#if RCPP_DEBUG_LEVEL > 0
+ #define RCPP_DEBUG( fmt , ... ) Rprintf( "%s:%d " fmt "\n" , __FILE__, __LINE__,##__VA_ARGS__ ) ;
+#else
+ #define RCPP_DEBUG( fmt , ... )
+#endif
+
// DO NOT CHANGE THE ORDER OF THESE INCLUDES
#include <Rcpp/traits/integral_constant.h>
#include <Rcpp/traits/same_type.h>
More information about the Rcpp-commits
mailing list