[Rcpp-commits] r3701 - in pkg/Rcpp: . inst inst/include/Rcpp

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Jul 21 19:54:46 CEST 2012


Author: edd
Date: 2012-07-21 19:54:46 +0200 (Sat, 21 Jul 2012)
New Revision: 3701

Modified:
   pkg/Rcpp/ChangeLog
   pkg/Rcpp/inst/NEWS
   pkg/Rcpp/inst/include/Rcpp/Module.h
Log:
 o corrected Module.h, finalizer methods can once again be set


Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog	2012-07-19 00:58:50 UTC (rev 3700)
+++ pkg/Rcpp/ChangeLog	2012-07-21 17:54:46 UTC (rev 3701)
@@ -1,3 +1,8 @@
+2012-07-21  Dirk Eddelbuettel  <edd at debian.org>
+
+	* inst/include/Rcpp/Module.h (Rcpp): Corrected typo / incomplete
+	reference in finalizer use
+
 2012-07-06  Dirk Eddelbuettel  <edd at debian.org>
 
 	* inst/include/Rcpp/config.h: In order to not attempt to include

Modified: pkg/Rcpp/inst/NEWS
===================================================================
--- pkg/Rcpp/inst/NEWS	2012-07-19 00:58:50 UTC (rev 3700)
+++ pkg/Rcpp/inst/NEWS	2012-07-21 17:54:46 UTC (rev 3701)
@@ -4,6 +4,8 @@
         of exception_defines.h and prevent this from being attempted on OS X
         where it failed for clang 3.1
 
+    o   Corrected a typo in Module.h who now again permits use of finalizers
+
 0.9.13  2012-06-28
 
     o   Truly corrected Rcpp::Environment class by having default constructor

Modified: pkg/Rcpp/inst/include/Rcpp/Module.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/Module.h	2012-07-19 00:58:50 UTC (rev 3700)
+++ pkg/Rcpp/inst/include/Rcpp/Module.h	2012-07-21 17:54:46 UTC (rev 3701)
@@ -717,7 +717,7 @@
     private:
     
         void SetFinalizer( finalizer_class* f ){
-            if( class_pointer->finalizer_pointer ) delete class_pointer->finalizer ;
+            if( class_pointer->finalizer_pointer ) delete class_pointer->finalizer_pointer ;
             class_pointer->finalizer_pointer = f ; 
         }
     



More information about the Rcpp-commits mailing list