Rollback the export macros on internal classes/functions.

This commit is contained in:
liujisi@google.com 2013-01-15 02:19:41 +00:00
parent 117064c18b
commit 691f6da30b
3 changed files with 4 additions and 4 deletions

View file

@ -59,7 +59,7 @@ void WriteMethodDocComment(io::Printer* printer,
const MethodDescriptor* method);
// Exposed for testing only.
LIBPROTOC_EXPORT string EscapeJavadoc(const string& input);
string EscapeJavadoc(const string& input);
} // namespace java
} // namespace compiler

View file

@ -53,7 +53,7 @@ class Message;
namespace compiler {
// Utility class for launching sub-processes.
class LIBPROTOC_EXPORT Subprocess {
class Subprocess {
public:
Subprocess();
~Subprocess();

View file

@ -188,7 +188,7 @@ bool Message::SerializePartialToOstream(ostream* output) const {
Reflection::~Reflection() {}
#define HANDLE_TYPE(TYPE, CPPTYPE, CTYPE) \
template<> LIBPROTOBUF_EXPORT \
template<> \
const RepeatedField<TYPE>& Reflection::GetRepeatedField<TYPE>( \
const Message& message, const FieldDescriptor* field) const { \
return *static_cast<RepeatedField<TYPE>* >( \
@ -196,7 +196,7 @@ const RepeatedField<TYPE>& Reflection::GetRepeatedField<TYPE>( \
field, CPPTYPE, CTYPE, NULL)); \
} \
\
template<> LIBPROTOBUF_EXPORT \
template<> \
RepeatedField<TYPE>* Reflection::MutableRepeatedField<TYPE>( \
Message* message, const FieldDescriptor* field) const { \
return static_cast<RepeatedField<TYPE>* >( \