Commit 7a7913e4 authored by Feng Xiao's avatar Feng Xiao

Add missing LIBPROTOBUF_EXPORT.

parent 443eb27c
...@@ -112,12 +112,13 @@ class ArenaString; ...@@ -112,12 +112,13 @@ class ArenaString;
// pointer to a copy of the string that resides in *arena. Requires both // pointer to a copy of the string that resides in *arena. Requires both
// args to be non-NULL. If something goes wrong while reading the data // args to be non-NULL. If something goes wrong while reading the data
// then NULL is returned (e.g., input does not start with a valid varint). // then NULL is returned (e.g., input does not start with a valid varint).
ArenaString* ReadArenaString(::google::protobuf::io::CodedInputStream* input, LIBPROTOBUF_EXPORT ArenaString* ReadArenaString(
::google::protobuf::io::CodedInputStream* input,
::google::protobuf::Arena* arena); ::google::protobuf::Arena* arena);
// Helper function to crash on merge failure. // Helper function to crash on merge failure.
// Moved out of generated code to reduce binary size. // Moved out of generated code to reduce binary size.
void MergeFromFail(const char* file, int line) GOOGLE_ATTRIBUTE_NORETURN; LIBPROTOBUF_EXPORT void MergeFromFail(const char* file, int line) GOOGLE_ATTRIBUTE_NORETURN;
} // namespace internal } // namespace internal
} // namespace protobuf } // namespace protobuf
......
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