Index: third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_names.h |
diff --git a/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_names.h b/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_names.h |
index 308051871c1027631c3d91511016a6a78f1421b4..21758f2882c74160683f96fa328b40508aa55d35 100644 |
--- a/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_names.h |
+++ b/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_names.h |
@@ -39,6 +39,7 @@ |
#define GOOGLE_PROTOBUF_COMPILER_CSHARP_NAMES_H__ |
#include <string> |
+#include <google/protobuf/stubs/port.h> |
namespace google { |
namespace protobuf { |
@@ -56,14 +57,14 @@ namespace csharp { |
// |
// Returns: |
// The namespace to use for given file descriptor. |
-string GetFileNamespace(const FileDescriptor* descriptor); |
+string LIBPROTOC_EXPORT GetFileNamespace(const FileDescriptor* descriptor); |
// Requires: |
// descriptor != NULL |
// |
// Returns: |
// The fully-qualified C# class name. |
-string GetClassName(const Descriptor* descriptor); |
+string LIBPROTOC_EXPORT GetClassName(const Descriptor* descriptor); |
// Requires: |
// descriptor != NULL |
@@ -72,7 +73,7 @@ string GetClassName(const Descriptor* descriptor); |
// The fully-qualified name of the C# class that provides |
// access to the file descriptor. Proto compiler generates |
// such class for each .proto file processed. |
-string GetReflectionClassName(const FileDescriptor* descriptor); |
+string LIBPROTOC_EXPORT GetReflectionClassName(const FileDescriptor* descriptor); |
// Generates output file name for given file descriptor. If generate_directories |
// is true, the output file will be put under directory corresponding to file's |
@@ -88,7 +89,7 @@ string GetReflectionClassName(const FileDescriptor* descriptor); |
// The file name to use as output file for given file descriptor. In case |
// of failure, this function will return empty string and error parameter |
// will contain the error message. |
-string GetOutputFile( |
+string LIBPROTOC_EXPORT GetOutputFile( |
const google::protobuf::FileDescriptor* descriptor, |
const string file_extension, |
const bool generate_directories, |