File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1+ 2017-06-14 JJ Allaire <
[email protected] >
2+
3+ * src/attributes.cpp: Add Shield around parameters in Rcpp::interfaces
4+
152017-06-07 Dirk Eddelbuettel <
[email protected] >
26
37 * README.md: Use alternates for img.shields.io GPL-2+ badges
Original file line number Diff line number Diff line change 2424 addressing \ghit {702 }).
2525 \item Automatically register init functions for Rcpp Modules (\ghpr {705 }
2626 addressing \ghit {704 }).
27+ \item Add Shield around parameters in Rcpp :: interfaces (\ghit {712 }).
2728 }
2829 }
2930}
Original file line number Diff line number Diff line change @@ -2172,7 +2172,7 @@ namespace attributes {
21722172
21732173 const std::vector<Argument>& args = function.arguments ();
21742174 for (std::size_t i = 0 ; i<args.size (); i++) {
2175- ostr () << " Rcpp::wrap(" << args[i].name () << " )" ;
2175+ ostr () << " Shield<SEXP>( Rcpp::wrap(" << args[i].name () << " ) )" ;
21762176 if (i != (args.size ()-1 ))
21772177 ostr () << " , " ;
21782178 }
You can’t perform that action at this time.
0 commit comments