diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2018-03-26 12:12:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-26 12:12:45 -0700 |
commit | 416d4180f0466f1582d4aeb58b40595d215922c6 (patch) | |
tree | 8b0dbb9eb1152428999469345d8fa1c050fe4392 /src | |
parent | 2c963d3c24f51c4e5b278bc8f843bcf7221fb790 (diff) | |
parent | dc68d98cc2f8ff6d33c99a225c6e293e02f9b961 (diff) | |
download | protobuf-416d4180f0466f1582d4aeb58b40595d215922c6.tar.gz protobuf-416d4180f0466f1582d4aeb58b40595d215922c6.tar.bz2 protobuf-416d4180f0466f1582d4aeb58b40595d215922c6.zip |
Merge pull request #4424 from egorpugin/patch-1
Fix missing LIBPROTOC_EXPORT.
Diffstat (limited to 'src')
-rw-r--r-- | src/google/protobuf/compiler/php/php_generator.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/google/protobuf/compiler/php/php_generator.h b/src/google/protobuf/compiler/php/php_generator.h index 67e70bc7..54a95ef5 100644 --- a/src/google/protobuf/compiler/php/php_generator.h +++ b/src/google/protobuf/compiler/php/php_generator.h @@ -54,9 +54,12 @@ class LIBPROTOC_EXPORT Generator // To skip reserved keywords in php, some generated classname are prefixed. // Other code generators may need following API to figure out the actual // classname. -std::string GeneratedClassName(const google::protobuf::Descriptor* desc); -std::string GeneratedClassName(const google::protobuf::EnumDescriptor* desc); -std::string GeneratedClassName(const google::protobuf::ServiceDescriptor* desc); +LIBPROTOC_EXPORT std::string GeneratedClassName( + const google::protobuf::Descriptor* desc); +LIBPROTOC_EXPORT std::string GeneratedClassName( + const google::protobuf::EnumDescriptor* desc); +LIBPROTOC_EXPORT std::string GeneratedClassName( + const google::protobuf::ServiceDescriptor* desc); } // namespace php } // namespace compiler |