Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
691f6da3
Commit
691f6da3
authored
Jan 15, 2013
by
liujisi@google.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rollback the export macros on internal classes/functions.
parent
117064c1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
java_doc_comment.h
src/google/protobuf/compiler/java/java_doc_comment.h
+1
-1
subprocess.h
src/google/protobuf/compiler/subprocess.h
+1
-1
message.cc
src/google/protobuf/message.cc
+2
-2
No files found.
src/google/protobuf/compiler/java/java_doc_comment.h
View file @
691f6da3
...
@@ -59,7 +59,7 @@ void WriteMethodDocComment(io::Printer* printer,
...
@@ -59,7 +59,7 @@ void WriteMethodDocComment(io::Printer* printer,
const
MethodDescriptor
*
method
);
const
MethodDescriptor
*
method
);
// Exposed for testing only.
// Exposed for testing only.
LIBPROTOC_EXPORT
string
EscapeJavadoc
(
const
string
&
input
);
string
EscapeJavadoc
(
const
string
&
input
);
}
// namespace java
}
// namespace java
}
// namespace compiler
}
// namespace compiler
...
...
src/google/protobuf/compiler/subprocess.h
View file @
691f6da3
...
@@ -53,7 +53,7 @@ class Message;
...
@@ -53,7 +53,7 @@ class Message;
namespace
compiler
{
namespace
compiler
{
// Utility class for launching sub-processes.
// Utility class for launching sub-processes.
class
LIBPROTOC_EXPORT
Subprocess
{
class
Subprocess
{
public
:
public
:
Subprocess
();
Subprocess
();
~
Subprocess
();
~
Subprocess
();
...
...
src/google/protobuf/message.cc
View file @
691f6da3
...
@@ -188,7 +188,7 @@ bool Message::SerializePartialToOstream(ostream* output) const {
...
@@ -188,7 +188,7 @@ bool Message::SerializePartialToOstream(ostream* output) const {
Reflection
::~
Reflection
()
{}
Reflection
::~
Reflection
()
{}
#define HANDLE_TYPE(TYPE, CPPTYPE, CTYPE) \
#define HANDLE_TYPE(TYPE, CPPTYPE, CTYPE) \
template<>
LIBPROTOBUF_EXPORT
\
template<>
\
const RepeatedField<TYPE>& Reflection::GetRepeatedField<TYPE>( \
const RepeatedField<TYPE>& Reflection::GetRepeatedField<TYPE>( \
const Message& message, const FieldDescriptor* field) const { \
const Message& message, const FieldDescriptor* field) const { \
return *static_cast<RepeatedField<TYPE>* >( \
return *static_cast<RepeatedField<TYPE>* >( \
...
@@ -196,7 +196,7 @@ const RepeatedField<TYPE>& Reflection::GetRepeatedField<TYPE>( \
...
@@ -196,7 +196,7 @@ const RepeatedField<TYPE>& Reflection::GetRepeatedField<TYPE>( \
field, CPPTYPE, CTYPE, NULL)); \
field, CPPTYPE, CTYPE, NULL)); \
} \
} \
\
\
template<>
LIBPROTOBUF_EXPORT
\
template<>
\
RepeatedField<TYPE>* Reflection::MutableRepeatedField<TYPE>( \
RepeatedField<TYPE>* Reflection::MutableRepeatedField<TYPE>( \
Message* message, const FieldDescriptor* field) const { \
Message* message, const FieldDescriptor* field) const { \
return static_cast<RepeatedField<TYPE>* >( \
return static_cast<RepeatedField<TYPE>* >( \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment