aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/compiler/csharp/csharp_names.h
diff options
context:
space:
mode:
authorArkadiy Shapkin <arkady.shapkin@gmail.com>2016-10-06 00:50:30 +0300
committerArkadiy Shapkin <arkady.shapkin@gmail.com>2016-12-01 11:34:32 -0800
commitb790da5a0b33e55bbd0921edfd83bb436d48fb49 (patch)
tree767594fd2b0add05afbbb37133f52ef8379dabbc /src/google/protobuf/compiler/csharp/csharp_names.h
parent851cb81ddd9365ce6973b56ea102ab4d3296b349 (diff)
downloadprotobuf-b790da5a0b33e55bbd0921edfd83bb436d48fb49.tar.gz
protobuf-b790da5a0b33e55bbd0921edfd83bb436d48fb49.tar.bz2
protobuf-b790da5a0b33e55bbd0921edfd83bb436d48fb49.zip
Missed LIBPROTOC_EXPORT for GRPC added
Diffstat (limited to 'src/google/protobuf/compiler/csharp/csharp_names.h')
-rw-r--r--src/google/protobuf/compiler/csharp/csharp_names.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/google/protobuf/compiler/csharp/csharp_names.h b/src/google/protobuf/compiler/csharp/csharp_names.h
index 30805187..8c952a5f 100644
--- a/src/google/protobuf/compiler/csharp/csharp_names.h
+++ b/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