|
@@ -50,25 +50,25 @@ namespace google {
|
|
namespace protobuf {
|
|
namespace protobuf {
|
|
|
|
|
|
// Return a C++ string
|
|
// Return a C++ string
|
|
-extern string StringPrintf(const char* format, ...);
|
|
|
|
|
|
+LIBPROTOBUF_EXPORT extern string StringPrintf(const char* format, ...);
|
|
|
|
|
|
// Store result into a supplied string and return it
|
|
// Store result into a supplied string and return it
|
|
-extern const string& SStringPrintf(string* dst, const char* format, ...);
|
|
|
|
|
|
+LIBPROTOBUF_EXPORT extern const string& SStringPrintf(string* dst, const char* format, ...);
|
|
|
|
|
|
// Append result to a supplied string
|
|
// Append result to a supplied string
|
|
-extern void StringAppendF(string* dst, const char* format, ...);
|
|
|
|
|
|
+LIBPROTOBUF_EXPORT extern void StringAppendF(string* dst, const char* format, ...);
|
|
|
|
|
|
// Lower-level routine that takes a va_list and appends to a specified
|
|
// Lower-level routine that takes a va_list and appends to a specified
|
|
// string. All other routines are just convenience wrappers around it.
|
|
// string. All other routines are just convenience wrappers around it.
|
|
-extern void StringAppendV(string* dst, const char* format, va_list ap);
|
|
|
|
|
|
+LIBPROTOBUF_EXPORT extern void StringAppendV(string* dst, const char* format, va_list ap);
|
|
|
|
|
|
// The max arguments supported by StringPrintfVector
|
|
// The max arguments supported by StringPrintfVector
|
|
-extern const int kStringPrintfVectorMaxArgs;
|
|
|
|
|
|
+LIBPROTOBUF_EXPORT extern const int kStringPrintfVectorMaxArgs;
|
|
|
|
|
|
// You can use this version when all your arguments are strings, but
|
|
// You can use this version when all your arguments are strings, but
|
|
// you don't know how many arguments you'll have at compile time.
|
|
// you don't know how many arguments you'll have at compile time.
|
|
// StringPrintfVector will LOG(FATAL) if v.size() > kStringPrintfVectorMaxArgs
|
|
// StringPrintfVector will LOG(FATAL) if v.size() > kStringPrintfVectorMaxArgs
|
|
-extern string StringPrintfVector(const char* format, const vector<string>& v);
|
|
|
|
|
|
+LIBPROTOBUF_EXPORT extern string StringPrintfVector(const char* format, const vector<string>& v);
|
|
|
|
|
|
} // namespace protobuf
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
} // namespace google
|