[Rprotobuf-commits] r554 - in pkg: . src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Dec 17 01:20:47 CET 2013


Author: edd
Date: 2013-12-17 01:20:47 +0100 (Tue, 17 Dec 2013)
New Revision: 554

Modified:
   pkg/ChangeLog
   pkg/src/rprotobuf.h
Log:
do not use 'extern "C"' on mutators.cpp functions returning atomistic or C++ types


Modified: pkg/ChangeLog
===================================================================
--- pkg/ChangeLog	2013-12-16 16:26:21 UTC (rev 553)
+++ pkg/ChangeLog	2013-12-17 00:20:47 UTC (rev 554)
@@ -1,7 +1,7 @@
 2013-12-16  Dirk Eddelbuettel  <edd at debian.org>
 
-	* src/rprotobuf.h (RCPP_ENUM_TRAITS): Don't use extern "C" on two
-	internal functions returning a C++ type
+	* src/rprotobuf.h (RCPP_ENUM_TRAITS): Don't use extern "C" on
+	internal functions returning atomistic or C++ types
 
 2013-12-15  Dirk Eddelbuettel  <edd at debian.org>
 

Modified: pkg/src/rprotobuf.h
===================================================================
--- pkg/src/rprotobuf.h	2013-12-16 16:26:21 UTC (rev 553)
+++ pkg/src/rprotobuf.h	2013-12-17 00:20:47 UTC (rev 554)
@@ -1,8 +1,9 @@
-// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; tab-width: 8 -*-
+// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*-
 //
 // rprotobuf.h: R/C++ interface class library
 //
 // Copyright (C) 2009 - 2012  Dirk Eddelbuettel and Romain Francois
+// Copyright (C) 2012 - 2013  Dirk Eddelbuettel, Romain Francois and Murray Stokely
 //
 // This file is part of RProtoBuf.
 //
@@ -137,18 +138,18 @@
 
 /* in mutators.cpp */
 RcppExport SEXP setMessageField( SEXP, SEXP, SEXP ) ;
-RcppExport int GET_int( SEXP, int ) ;
-RcppExport double GET_double( SEXP, int ) ;
-RcppExport float GET_float( SEXP, int ) ;
-RcppExport int32 GET_int32( SEXP, int) ;
-RcppExport int64 GET_int64( SEXP, int) ;
-RcppExport uint32 GET_uint32( SEXP, int) ;
-RcppExport uint64 GET_uint64( SEXP, int ) ;
-RcppExport bool GET_bool( SEXP, int) ;
-           std::string GET_stdstring( SEXP, int ) ;
-           std::string GET_bytes( SEXP, int ) ;
-RcppExport void CHECK_values_for_enum( GPB::FieldDescriptor*, SEXP) ;
-RcppExport void CHECK_messages( GPB::FieldDescriptor*, SEXP) ;
+int GET_int( SEXP, int ) ;
+double GET_double( SEXP, int ) ;
+float GET_float( SEXP, int ) ;
+int32 GET_int32( SEXP, int) ;
+int64 GET_int64( SEXP, int) ;
+uint32 GET_uint32( SEXP, int) ;
+uint64 GET_uint64( SEXP, int ) ;
+bool GET_bool( SEXP, int) ;
+std::string GET_stdstring( SEXP, int ) ;
+std::string GET_bytes( SEXP, int ) ;
+void CHECK_values_for_enum( GPB::FieldDescriptor*, SEXP) ;
+void CHECK_messages( GPB::FieldDescriptor*, SEXP) ;
 
 /* in wrapper_ServiceDescriptor.cpp */
 RcppExport SEXP ServiceDescriptor_length(SEXP);



More information about the Rprotobuf-commits mailing list