<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
RcppExports.cpp will automatically include a .h that has the same name as the package and is located in inst/include, iirc.</blockquote><div><br></div><div>This is indeed the current solution to the problem of typedefs, however I admin that it's a bit difficult to take advantage of without wading through documentation and/or the mailing list. One alternative we've considered in transposing typedefs (and perhaps using namespace statements) into RcppExports.cpp however this could be considered overly aggressive (e.g. it's theoretically possible this could introduce side effects).</div>
<div><br></div><div>J.J.</div><div><br></div></div></div></div>