[Rcpp-devel] wrap documentation?

2020-04-25 Thread Toby Hocking
Hi, can someone please tell me where the return types of wrap are documented? For context, I was looking at the Advanced R chapter on Rcpp http://adv-r.had.co.nz/Rcpp.html which shows an example of a C++ function with the Rcpp::exports attribute, that returns a std::map, and I was wondering how th

Re: [Rcpp-devel] wrap documentation?

2020-04-25 Thread Dirk Eddelbuettel
On 25 April 2020 at 16:04, Toby Hocking wrote: | Hi, can someone please tell me where the return types of wrap are | documented? The _return_ value of a wrap() call is by definition always SEXP. Just how the _input_ for as<>() converters is always a SEXP. For wrap(), see e.g. Section 3.1 of the