[Rprotobuf-commits] r620 - pkg/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Dec 28 00:46:01 CET 2013
Author: murray
Date: 2013-12-28 00:46:01 +0100 (Sat, 28 Dec 2013)
New Revision: 620
Modified:
pkg/src/wrapper_ArrayInputStream.cpp
pkg/src/wrapper_ArrayOutputStream.cpp
Log:
whitespace change only: clang-format
Modified: pkg/src/wrapper_ArrayInputStream.cpp
===================================================================
--- pkg/src/wrapper_ArrayInputStream.cpp 2013-12-27 23:44:50 UTC (rev 619)
+++ pkg/src/wrapper_ArrayInputStream.cpp 2013-12-27 23:46:01 UTC (rev 620)
@@ -2,10 +2,10 @@
#include "rprotobuf.h"
#include "RcppMacros.h"
-namespace rprotobuf{
+namespace rprotobuf {
- RPB_FUNCTION_2( S4_ArrayInputStream, ArrayInputStream__new, Rcpp::RawVector payload, int block_size){
- return S4_ArrayInputStream( payload, block_size );
- }
-
+RPB_FUNCTION_2(S4_ArrayInputStream, ArrayInputStream__new,
+ Rcpp::RawVector payload, int block_size) {
+ return S4_ArrayInputStream(payload, block_size);
}
+}
Modified: pkg/src/wrapper_ArrayOutputStream.cpp
===================================================================
--- pkg/src/wrapper_ArrayOutputStream.cpp 2013-12-27 23:44:50 UTC (rev 619)
+++ pkg/src/wrapper_ArrayOutputStream.cpp 2013-12-27 23:46:01 UTC (rev 620)
@@ -2,10 +2,10 @@
#include "rprotobuf.h"
#include "RcppMacros.h"
-namespace rprotobuf{
+namespace rprotobuf {
- RPB_FUNCTION_2( S4_ArrayOutputStream, ArrayOutputStream__new, int size, int block_size){
- return S4_ArrayOutputStream( size, block_size ) ;
- }
-
+RPB_FUNCTION_2(S4_ArrayOutputStream, ArrayOutputStream__new, int size,
+ int block_size) {
+ return S4_ArrayOutputStream(size, block_size);
}
+}
More information about the Rprotobuf-commits
mailing list