[Rcpp-devel] Multiplication of ComplexVector?
Dominick Samperi
djsamperi at gmail.com
Wed Aug 18 22:19:10 CEST 2010
On Wed, Aug 18, 2010 at 7:22 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
>
> On 18 August 2010 at 09:10, Romain Francois wrote:
> | Yep, that is because of RcppExport. You only use RcppExport when you
> | call the function from .Call in R.
> |
> | RcppExport is an alias to extern "C" so it essentially voids the
> | C++-ness of the function it is applied to.
>
> For completeness: It also provided a hook to add __declspec(dllexport) for
> the one operating system that needed it when building DLLs. We currently
> don't build DLLs there so this is moot but the option may be useful. Hence
> RcppExport and not just extern "C".
>
Using the decoration __declspec(dllexport) is no longer needed because the
R build process uses Rtools/bin/nm.exe to extract *all* symbols to be
exported, not just the symbols that are intended to be called from R.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20100818/39d7921e/attachment.htm>
More information about the Rcpp-devel
mailing list