[Rcpp-commits] r3402 - in pkg/int64: . inst/include/int64 man src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Dec 1 12:08:34 CET 2011


Author: romain
Date: 2011-12-01 12:08:34 +0100 (Thu, 01 Dec 2011)
New Revision: 3402

Modified:
   pkg/int64/DESCRIPTION
   pkg/int64/inst/include/int64/int64.h
   pkg/int64/inst/include/int64/math.h
   pkg/int64/man/int64-package.Rd
   pkg/int64/src/int64.cpp
Log:
apply murray/karl suggestions about na_flag and abs

Modified: pkg/int64/DESCRIPTION
===================================================================
--- pkg/int64/DESCRIPTION	2011-11-28 14:21:55 UTC (rev 3401)
+++ pkg/int64/DESCRIPTION	2011-12-01 11:08:34 UTC (rev 3402)
@@ -1,8 +1,8 @@
 Package: int64
 Type: Package
 Title: 64 bit integer types
-Version: 1.1.1
-Date: 2011-11-27
+Version: 1.1.2
+Date: 2011-12-01
 Author: Romain Francois, sponsored by the Google Open Source Programs Office
 Maintainer: Romain Francois <romain at r-enthusiasts.com>
 Description: 64 bit integer types

Modified: pkg/int64/inst/include/int64/int64.h
===================================================================
--- pkg/int64/inst/include/int64/int64.h	2011-11-28 14:21:55 UTC (rev 3401)
+++ pkg/int64/inst/include/int64/int64.h	2011-12-01 11:08:34 UTC (rev 3402)
@@ -23,7 +23,7 @@
 
 namespace Rint64{
     namespace internal {
-        bool int64_naflag = false ;
+        extern bool int64_naflag ;
     }
 }
 

Modified: pkg/int64/inst/include/int64/math.h
===================================================================
--- pkg/int64/inst/include/int64/math.h	2011-11-28 14:21:55 UTC (rev 3401)
+++ pkg/int64/inst/include/int64/math.h	2011-12-01 11:08:34 UTC (rev 3402)
@@ -39,7 +39,7 @@
     return res ;    
 }
 template <>
-SEXP abs<uint64_t>( SEXP x ){ return x ; }
+inline SEXP abs<uint64_t>( SEXP x ){ return x ; }
      
 template <typename LONG>
 SEXP sign( SEXP x){

Modified: pkg/int64/man/int64-package.Rd
===================================================================
--- pkg/int64/man/int64-package.Rd	2011-11-28 14:21:55 UTC (rev 3401)
+++ pkg/int64/man/int64-package.Rd	2011-12-01 11:08:34 UTC (rev 3402)
@@ -11,8 +11,8 @@
 \tabular{ll}{
 Package: \tab int64\cr
 Type: \tab Package\cr
-Version: \tab 1.1.1\cr
-Date: \tab 2011-10-27\cr
+Version: \tab 1.1.2\cr
+Date: \tab 2011-12-01\cr
 License: \tab GPL (>= 2)\cr
 LazyLoad: \tab yes\cr
 }

Modified: pkg/int64/src/int64.cpp
===================================================================
--- pkg/int64/src/int64.cpp	2011-11-28 14:21:55 UTC (rev 3401)
+++ pkg/int64/src/int64.cpp	2011-12-01 11:08:34 UTC (rev 3402)
@@ -26,6 +26,8 @@
 namespace Rint64{
     
     namespace internal{
+  
+        bool int64_naflag = false ;
         
         SEXP int64_format_binary__standard(SEXP x){
             int n = Rf_length(x) ;



More information about the Rcpp-commits mailing list