[Rcpp-commits] r3941 - pkg/Rcpp/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Nov 12 00:07:46 CET 2012


Author: edd
Date: 2012-11-12 00:07:45 +0100 (Mon, 12 Nov 2012)
New Revision: 3941

Modified:
   pkg/Rcpp/src/Attributes.cpp
Log:
explicit use of Rcpp::Named()


Modified: pkg/Rcpp/src/Attributes.cpp
===================================================================
--- pkg/Rcpp/src/Attributes.cpp	2012-11-11 21:58:19 UTC (rev 3940)
+++ pkg/Rcpp/src/Attributes.cpp	2012-11-11 23:07:45 UTC (rev 3941)
@@ -134,7 +134,7 @@
                                         it->function().arguments();
                     ostr << ", Rcpp::List::create("; 
                     for (size_t i=0; i<args.size(); i++) {
-                        ostr << "Rcpp::_[\"" << args[i].name() << "\"]";
+                        ostr << "Rcpp::Named(\"" << args[i].name() << "\")";
                         if (i != (args.size()-1))
                             ostr << ", ";
                     }



More information about the Rcpp-commits mailing list