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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Nov 4 14:30:37 CET 2012


Author: romain
Date: 2012-11-04 14:30:37 +0100 (Sun, 04 Nov 2012)
New Revision: 3893

Modified:
   pkg/Rcpp/ChangeLog
   pkg/Rcpp/inst/include/Rcpp/module/CppFunction.h
Log:
fixed module bug

Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog	2012-11-03 22:47:41 UTC (rev 3892)
+++ pkg/Rcpp/ChangeLog	2012-11-04 13:30:37 UTC (rev 3893)
@@ -1,3 +1,8 @@
+2012-11-04  Romain Francois <romain at r-enthusiasts.com>
+
+        * include/Rcpp/module/CppFunction.h: fixed module bug (virtual function
+        was not defined)
+
 2012-11-03  JJ Allaire <jj at rstudio.org>
 
         * Use CLINK_CPPFLAGS rather than PKG_CXXFLAGS for LinkingTo 

Modified: pkg/Rcpp/inst/include/Rcpp/module/CppFunction.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/module/CppFunction.h	2012-11-03 22:47:41 UTC (rev 3892)
+++ pkg/Rcpp/inst/include/Rcpp/module/CppFunction.h	2012-11-04 13:30:37 UTC (rev 3893)
@@ -65,7 +65,7 @@
          * The actual function pointer, as a catch all function pointer
          * (see Rdynload.h for definition of DL_FUNC)
          */
-        virtual DL_FUNC get_function_ptr() ;        
+        virtual DL_FUNC get_function_ptr() = 0  ;        
         
         /**
          * description of the function



More information about the Rcpp-commits mailing list