[Rcpp-commits] r2558 - pkg/RcppGSL/inst/include
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Nov 27 19:10:26 CET 2010
Author: romain
Date: 2010-11-27 19:10:26 +0100 (Sat, 27 Nov 2010)
New Revision: 2558
Modified:
pkg/RcppGSL/inst/include/RcppGSLForward.h
Log:
less line noise
Modified: pkg/RcppGSL/inst/include/RcppGSLForward.h
===================================================================
--- pkg/RcppGSL/inst/include/RcppGSLForward.h 2010-11-27 18:08:19 UTC (rev 2557)
+++ pkg/RcppGSL/inst/include/RcppGSLForward.h 2010-11-27 18:10:26 UTC (rev 2558)
@@ -117,7 +117,9 @@
_RCPPGSL_SPEC(gsl_complex_long_double , _complex_long_double , gsl_complex_long_double )
#undef _RCPPGSL_SPEC
+#undef _RCPPGSL_SPEC_NOSUFFIX
+
template <typename T> class vector_view {
public:
typedef vector<T> VEC ;
@@ -179,7 +181,6 @@
template<> inline SEXP wrap( const gsl_matrix##__SUFFIX__##_view& ) ; \
template<> inline SEXP wrap( const gsl_matrix##__SUFFIX__##_const_view& ) ;
-_RCPPGSL_WRAPDEF()
_RCPPGSL_WRAPDEF(_int )
_RCPPGSL_WRAPDEF(_float )
_RCPPGSL_WRAPDEF(_long )
@@ -194,6 +195,13 @@
_RCPPGSL_WRAPDEF(_ushort )
_RCPPGSL_WRAPDEF(_ulong )
+template<> inline SEXP wrap( const gsl_vector& ) ;
+template<> inline SEXP wrap( const gsl_vector_view& ) ;
+template<> inline SEXP wrap( const gsl_vector_const_view& ) ;
+template<> inline SEXP wrap( const gsl_matrix& ) ;
+template<> inline SEXP wrap( const gsl_matrix_view& ) ;
+template<> inline SEXP wrap( const gsl_matrix_const_view& ) ;
+
template <typename T> SEXP wrap( const ::RcppGSL::vector<T>& ) ;
template <typename T> SEXP wrap( const ::RcppGSL::matrix<T>& ) ;
More information about the Rcpp-commits
mailing list