[Rcpp-commits] r1471 - pkg/Rcpp/inst/doc/Rcpp-extending
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Jun 7 15:49:46 CEST 2010
Author: romain
Date: 2010-06-07 15:49:46 +0200 (Mon, 07 Jun 2010)
New Revision: 1471
Modified:
pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw
Log:
some more words
Modified: pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw 2010-06-07 13:46:39 UTC (rev 1470)
+++ pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw 2010-06-07 13:49:46 UTC (rev 1471)
@@ -324,9 +324,16 @@
// this must appear after the specialization,
// otherwise the specialization will not be seen by Rcpp types
#include <Rcpp.h>
-
@
+Using this approach, the requirements on the \texttt{Exporter< Bling<T> >}
+class are:
+\begin{itemize}
+\item it should have a constructor taking a \texttt{SEXP}
+\item it should have a methods called \texttt{get} that returns an instance
+of the \texttt{Bling<T>} type.
+\end{itemize}
+
<<echo=FALSE>>=
unlink( "code.cpp" )
@
More information about the Rcpp-commits
mailing list