[Rcpp-commits] r3604 - in pkg/Rcpp: . inst/include/Rcpp/iostream

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun May 13 18:37:38 CEST 2012


Author: edd
Date: 2012-05-13 18:37:38 +0200 (Sun, 13 May 2012)
New Revision: 3604

Modified:
   pkg/Rcpp/ChangeLog
   pkg/Rcpp/inst/include/Rcpp/iostream/Rostream.h
Log:
added #include for Rstreambuf.h to Rostream.h as per rcpp-devel discussion


Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog	2012-05-10 16:40:29 UTC (rev 3603)
+++ pkg/Rcpp/ChangeLog	2012-05-13 16:37:38 UTC (rev 3604)
@@ -1,3 +1,8 @@
+2012-05-13  Dirk Eddelbuettel  <edd at debian.org>
+
+	* inst/include/Rcpp/iostream/Rostream.h: Added Rstreambuf.h include
+	as per rcpp-devel discussion with Alexey Stukalov
+
 2012-05-09  Dirk Eddelbuettel  <edd at debian.org>
 
 	* inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Expanded R CMD SHLIB discussion

Modified: pkg/Rcpp/inst/include/Rcpp/iostream/Rostream.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/iostream/Rostream.h	2012-05-10 16:40:29 UTC (rev 3603)
+++ pkg/Rcpp/inst/include/Rcpp/iostream/Rostream.h	2012-05-13 16:37:38 UTC (rev 3604)
@@ -24,6 +24,8 @@
 
 #include <iomanip>				// USES setw
 
+#include "Rstreambuf.h"         		// to permit direct inclusion of Rostream header
+
 // modified from 
 // http://stackoverflow.com/questions/243696/correctly-over-loading-a-stringbuf-to-replace-cout-in-a-matlab-mex-file
 



More information about the Rcpp-commits mailing list