[Rprotobuf-commits] r644 - pkg/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Dec 30 22:02:17 CET 2013
Author: murray
Date: 2013-12-30 22:02:17 +0100 (Mon, 30 Dec 2013)
New Revision: 644
Modified:
pkg/src/ConnectionInputStream.h
pkg/src/ConnectionOutputStream.h
pkg/src/RSourceTree.h
Log:
Whitespace change only (no diff output at all with svn diff -x
-w). from clang-format per STYLE file.
Modified: pkg/src/ConnectionInputStream.h
===================================================================
--- pkg/src/ConnectionInputStream.h 2013-12-30 21:00:27 UTC (rev 643)
+++ pkg/src/ConnectionInputStream.h 2013-12-30 21:02:17 UTC (rev 644)
@@ -1,18 +1,18 @@
#ifndef RPROTOBUF_ConnectionInputStream_H
#define RPROTOBUF_ConnectionInputStream_H
-namespace rprotobuf{
+namespace rprotobuf {
- class ConnectionInputStream : public GPB::io::CopyingInputStreamAdaptor {
- public:
- ConnectionInputStream( SEXP con, bool was_open ) ;
- ~ConnectionInputStream() ;
-
- private:
- bool was_open ;
- SEXP con ;
-} ;
+class ConnectionInputStream : public GPB::io::CopyingInputStreamAdaptor {
+ public:
+ ConnectionInputStream(SEXP con, bool was_open);
+ ~ConnectionInputStream();
-} // namespace rprotobuf
+ private:
+ bool was_open;
+ SEXP con;
+};
+} // namespace rprotobuf
+
#endif
Modified: pkg/src/ConnectionOutputStream.h
===================================================================
--- pkg/src/ConnectionOutputStream.h 2013-12-30 21:00:27 UTC (rev 643)
+++ pkg/src/ConnectionOutputStream.h 2013-12-30 21:02:17 UTC (rev 644)
@@ -1,18 +1,18 @@
#ifndef RPROTOBUF_ConnectionOutputStream_H
#define RPROTOBUF_ConnectionOutputStream_H
-namespace rprotobuf{
+namespace rprotobuf {
- class ConnectionOutputStream : public GPB::io::CopyingOutputStreamAdaptor {
- public:
- ConnectionOutputStream( SEXP con, bool was_open ) ;
- ~ConnectionOutputStream() ;
-
- private:
- bool was_open ;
- SEXP con ;
-} ;
+class ConnectionOutputStream : public GPB::io::CopyingOutputStreamAdaptor {
+ public:
+ ConnectionOutputStream(SEXP con, bool was_open);
+ ~ConnectionOutputStream();
-} // namespace rprotobuf
+ private:
+ bool was_open;
+ SEXP con;
+};
+} // namespace rprotobuf
+
#endif
Modified: pkg/src/RSourceTree.h
===================================================================
--- pkg/src/RSourceTree.h 2013-12-30 21:00:27 UTC (rev 643)
+++ pkg/src/RSourceTree.h 2013-12-30 21:02:17 UTC (rev 644)
@@ -1,20 +1,20 @@
#ifndef RPROTOBUF_RSourceTree_H
#define RPROTOBUF_RSourceTree_H
-namespace rprotobuf{
- class RSourceTree : public GPB::compiler::SourceTree {
- public:
- RSourceTree() ;
- GPB::io::ZeroCopyInputStream * Open(const std::string & filename) ;
- void addDirectory( const std::string& directory) ;
- void addDirectories( SEXP dirs) ;
- void removeDirectory( const std::string& directory ) ;
- void removeDirectories( SEXP dirs ) ;
-
- private:
- std::set<std::string> directories ;
-} ;
+namespace rprotobuf {
+class RSourceTree : public GPB::compiler::SourceTree {
+ public:
+ RSourceTree();
+ GPB::io::ZeroCopyInputStream* Open(const std::string& filename);
+ void addDirectory(const std::string& directory);
+ void addDirectories(SEXP dirs);
+ void removeDirectory(const std::string& directory);
+ void removeDirectories(SEXP dirs);
-} // namespace rprotobuf
+ private:
+ std::set<std::string> directories;
+};
+} // namespace rprotobuf
+
#endif
More information about the Rprotobuf-commits
mailing list