[Rcpp-commits] r4119 - in pkg/RcppClassic: . inst/include

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Dec 9 16:36:03 CET 2012


Author: romain
Date: 2012-12-09 16:36:03 +0100 (Sun, 09 Dec 2012)
New Revision: 4119

Modified:
   pkg/RcppClassic/ChangeLog
   pkg/RcppClassic/inst/include/RcppClassic.h
Log:
same anticipation change

Modified: pkg/RcppClassic/ChangeLog
===================================================================
--- pkg/RcppClassic/ChangeLog	2012-12-09 15:25:45 UTC (rev 4118)
+++ pkg/RcppClassic/ChangeLog	2012-12-09 15:36:03 UTC (rev 4119)
@@ -2,6 +2,7 @@
 
 	* src/RcppResultSet.cpp : define getPosixClasses, new_posixt_object and
 	new_date_object as these will no longer be included in Rcpp 0.10.2
+	* include/RcppClassic.h: same
 
 2012-07-23  Dirk Eddelbuettel  <edd at debian.org>
 

Modified: pkg/RcppClassic/inst/include/RcppClassic.h
===================================================================
--- pkg/RcppClassic/inst/include/RcppClassic.h	2012-12-09 15:25:45 UTC (rev 4118)
+++ pkg/RcppClassic/inst/include/RcppClassic.h	2012-12-09 15:36:03 UTC (rev 4119)
@@ -4,7 +4,7 @@
 //
 // Copyright (C) 2005 - 2006 Dominick Samperi
 // Copyright (C) 2008 - 2009 Dirk Eddelbuettel
-// Copyright (C) 2009 - 2010 Dirk Eddelbuettel and Romain Francois
+// Copyright (C) 2009 - 2012 Dirk Eddelbuettel and Romain Francois
 //
 // This file is part of RcppClassic.
 //
@@ -29,4 +29,16 @@
 #include <Rcpp.h>
 #include <classic/classic_backward.h>
 
+namespace Rcpp{
+    
+    #if defined(RCPP_VERSION) && RCPP_VERSION > Rcpp_Version(0,10,1)
+    namespace internal{
+        SEXP getPosixClasses() ;
+        SEXP new_posixt_object( double d) ;
+        SEXP new_date_object( double d) ;
+    }
+    #endif
+}
+    
+
 #endif



More information about the Rcpp-commits mailing list