[Rcpp-commits] r463 - pkg/src/Rcpp
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Jan 26 11:46:31 CET 2010
Author: romain
Date: 2010-01-26 11:46:31 +0100 (Tue, 26 Jan 2010)
New Revision: 463
Modified:
pkg/src/Rcpp/RObject.h
Log:
removed the defunct code from RObject
Modified: pkg/src/Rcpp/RObject.h
===================================================================
--- pkg/src/Rcpp/RObject.h 2010-01-26 10:44:36 UTC (rev 462)
+++ pkg/src/Rcpp/RObject.h 2010-01-26 10:46:31 UTC (rev 463)
@@ -111,9 +111,6 @@
std::vector<Rbyte> asStdVectorRaw() const;
std::vector<bool> asStdVectorBool() const;
- inline bool isPreserved() { DEFUNCT("isPreserved") ; return m_sexp != R_NilValue ; }
- inline void forgetPreserve() { DEFUNCT("forgetPreserve") ; }
-
/* attributes */
/**
@@ -216,8 +213,6 @@
*/
void setSEXP(SEXP x) ;
- inline void DEFUNCT(const std::string& method ){ Rf_warning("method %s is defunct", method.c_str() ) ; }
-
/**
* The SEXP this is wrapping. This has to be considered read only.
* to change it, use setSEXP
More information about the Rcpp-commits
mailing list