[Rcpp-commits] r2814 - pkg/Rcpp/inst/include
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Dec 22 17:23:58 CET 2010
Author: romain
Date: 2010-12-22 17:23:58 +0100 (Wed, 22 Dec 2010)
New Revision: 2814
Modified:
pkg/Rcpp/inst/include/RcppCommon.h
Log:
guilty
Modified: pkg/Rcpp/inst/include/RcppCommon.h
===================================================================
--- pkg/Rcpp/inst/include/RcppCommon.h 2010-12-22 15:11:02 UTC (rev 2813)
+++ pkg/Rcpp/inst/include/RcppCommon.h 2010-12-22 16:23:58 UTC (rev 2814)
@@ -132,8 +132,8 @@
#include <Rcpp/complex.h>
-void Rcpp_PreserveObject( SEXP object ){ R_PreserveObject(object); }
-void Rcpp_ReleaseObject( SEXP object ){ R_ReleaseObject(object); }
+inline void Rcpp_PreserveObject( SEXP object ) { R_PreserveObject(object) ; }
+inline void Rcpp_ReleaseObject( SEXP object ) { R_PreserveObject(object) ; }
#include <Rcpp/barrier.h>
More information about the Rcpp-commits
mailing list