Commit 691f6da3 authored by liujisi@google.com's avatar liujisi@google.com

Rollback the export macros on internal classes/functions.

parent 117064c1
...@@ -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
......
...@@ -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();
......
...@@ -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>* >( \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment