<div dir="ltr">Is there a list of GSOC ideas for Rcpp? I assume you all participate.<div><br></div><div>As far as I can tell (correct me if I am wrong), Rcpp does not support as arguments or return types:</div><div>void*</div>

<div>enums</div><div>int/double* buffers</div><div>char** buffers (vector of null-terminated strings)</div><div><br></div><div>If these types of arguments could be handled natively, I would not have to write wrappers by hand, which is easy but time consuming for large libraries.</div>

<div><br></div><div>The first thing might be to add an "enum_<enumType>" template to Rcpp a la Boost::Python.</div><div><br></div><div>It would be nice to extend the attributed mechanism to allow wrapping given a prototype, for example:</div>

<div><br></div><div>// [[Rcpp::wrap]]</div><div>const char* theFunc(double n);</div><div><br></div><div>This would not emit a prototype for theFunc, the assumption being it is defined in a header.</div><div><br></div><div>

THK</div><div><br></div><div><div>-- <br><div dir="ltr"><a href="http://www.keittlab.org/" target="_blank">http://www.keittlab.org/</a></div>
</div></div></div>