Commit 4474c042 authored by Feng Xiao's avatar Feng Xiao Committed by GitHub

Merge pull request #2462 from jbrianceau/fix-comp-builds-part2

C++: export _xxx_default_instance_ symbols
parents 6b4eee40 e219be74
...@@ -33,7 +33,7 @@ namespace google { ...@@ -33,7 +33,7 @@ namespace google {
namespace protobuf { namespace protobuf {
class Any; class Any;
class AnyDefaultTypeInternal; class AnyDefaultTypeInternal;
extern AnyDefaultTypeInternal _Any_default_instance_; LIBPROTOBUF_EXPORT extern AnyDefaultTypeInternal _Any_default_instance_;
} // namespace protobuf } // namespace protobuf
} // namespace google } // namespace google
......
...@@ -34,31 +34,31 @@ namespace google { ...@@ -34,31 +34,31 @@ namespace google {
namespace protobuf { namespace protobuf {
class Api; class Api;
class ApiDefaultTypeInternal; class ApiDefaultTypeInternal;
extern ApiDefaultTypeInternal _Api_default_instance_; LIBPROTOBUF_EXPORT extern ApiDefaultTypeInternal _Api_default_instance_;
class Enum; class Enum;
class EnumDefaultTypeInternal; class EnumDefaultTypeInternal;
extern EnumDefaultTypeInternal _Enum_default_instance_; LIBPROTOBUF_EXPORT extern EnumDefaultTypeInternal _Enum_default_instance_;
class EnumValue; class EnumValue;
class EnumValueDefaultTypeInternal; class EnumValueDefaultTypeInternal;
extern EnumValueDefaultTypeInternal _EnumValue_default_instance_; LIBPROTOBUF_EXPORT extern EnumValueDefaultTypeInternal _EnumValue_default_instance_;
class Field; class Field;
class FieldDefaultTypeInternal; class FieldDefaultTypeInternal;
extern FieldDefaultTypeInternal _Field_default_instance_; LIBPROTOBUF_EXPORT extern FieldDefaultTypeInternal _Field_default_instance_;
class Method; class Method;
class MethodDefaultTypeInternal; class MethodDefaultTypeInternal;
extern MethodDefaultTypeInternal _Method_default_instance_; LIBPROTOBUF_EXPORT extern MethodDefaultTypeInternal _Method_default_instance_;
class Mixin; class Mixin;
class MixinDefaultTypeInternal; class MixinDefaultTypeInternal;
extern MixinDefaultTypeInternal _Mixin_default_instance_; LIBPROTOBUF_EXPORT extern MixinDefaultTypeInternal _Mixin_default_instance_;
class Option; class Option;
class OptionDefaultTypeInternal; class OptionDefaultTypeInternal;
extern OptionDefaultTypeInternal _Option_default_instance_; LIBPROTOBUF_EXPORT extern OptionDefaultTypeInternal _Option_default_instance_;
class SourceContext; class SourceContext;
class SourceContextDefaultTypeInternal; class SourceContextDefaultTypeInternal;
extern SourceContextDefaultTypeInternal _SourceContext_default_instance_; LIBPROTOBUF_EXPORT extern SourceContextDefaultTypeInternal _SourceContext_default_instance_;
class Type; class Type;
class TypeDefaultTypeInternal; class TypeDefaultTypeInternal;
extern TypeDefaultTypeInternal _Type_default_instance_; LIBPROTOBUF_EXPORT extern TypeDefaultTypeInternal _Type_default_instance_;
} // namespace protobuf } // namespace protobuf
} // namespace google } // namespace google
......
...@@ -403,7 +403,7 @@ class FileGenerator::ForwardDeclarations { ...@@ -403,7 +403,7 @@ class FileGenerator::ForwardDeclarations {
std::map<string, const Descriptor*>& classes() { return classes_; } std::map<string, const Descriptor*>& classes() { return classes_; }
std::map<string, const EnumDescriptor*>& enums() { return enums_; } std::map<string, const EnumDescriptor*>& enums() { return enums_; }
void Print(io::Printer* printer) const { void Print(io::Printer* printer, const Options& options) const {
for (std::map<string, const EnumDescriptor *>::const_iterator for (std::map<string, const EnumDescriptor *>::const_iterator
it = enums_.begin(), it = enums_.begin(),
end = enums_.end(); end = enums_.end();
...@@ -422,8 +422,11 @@ class FileGenerator::ForwardDeclarations { ...@@ -422,8 +422,11 @@ class FileGenerator::ForwardDeclarations {
printer->Print( printer->Print(
"class $classname$DefaultTypeInternal;\n" "class $classname$DefaultTypeInternal;\n"
"$dllexport_decl$"
"extern $classname$DefaultTypeInternal " "extern $classname$DefaultTypeInternal "
"_$classname$_default_instance_;\n", // NOLINT "_$classname$_default_instance_;\n", // NOLINT
"dllexport_decl",
options.dllexport_decl.empty() ? "" : options.dllexport_decl + " ",
"classname", "classname",
it->first); it->first);
} }
...@@ -433,7 +436,7 @@ class FileGenerator::ForwardDeclarations { ...@@ -433,7 +436,7 @@ class FileGenerator::ForwardDeclarations {
it != end; ++it) { it != end; ++it) {
printer->Print("namespace $nsname$ {\n", printer->Print("namespace $nsname$ {\n",
"nsname", it->first); "nsname", it->first);
it->second->Print(printer); it->second->Print(printer, options);
printer->Print("} // namespace $nsname$\n", printer->Print("} // namespace $nsname$\n",
"nsname", it->first); "nsname", it->first);
} }
...@@ -808,7 +811,7 @@ void FileGenerator::GenerateForwardDeclarations(io::Printer* printer) { ...@@ -808,7 +811,7 @@ void FileGenerator::GenerateForwardDeclarations(io::Printer* printer) {
dependency.FillForwardDeclarations(&decls); dependency.FillForwardDeclarations(&decls);
} }
FillForwardDeclarations(&decls); FillForwardDeclarations(&decls);
decls.Print(printer); decls.Print(printer, options_);
} }
void FileGenerator::FillForwardDeclarations(ForwardDeclarations* decls) { void FileGenerator::FillForwardDeclarations(ForwardDeclarations* decls) {
......
...@@ -33,92 +33,92 @@ namespace google { ...@@ -33,92 +33,92 @@ namespace google {
namespace protobuf { namespace protobuf {
class DescriptorProto; class DescriptorProto;
class DescriptorProtoDefaultTypeInternal; class DescriptorProtoDefaultTypeInternal;
extern DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_; LIBPROTOC_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_;
class DescriptorProto_ExtensionRange; class DescriptorProto_ExtensionRange;
class DescriptorProto_ExtensionRangeDefaultTypeInternal; class DescriptorProto_ExtensionRangeDefaultTypeInternal;
extern DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_; LIBPROTOC_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_;
class DescriptorProto_ReservedRange; class DescriptorProto_ReservedRange;
class DescriptorProto_ReservedRangeDefaultTypeInternal; class DescriptorProto_ReservedRangeDefaultTypeInternal;
extern DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_; LIBPROTOC_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_;
class EnumDescriptorProto; class EnumDescriptorProto;
class EnumDescriptorProtoDefaultTypeInternal; class EnumDescriptorProtoDefaultTypeInternal;
extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_; LIBPROTOC_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_;
class EnumOptions; class EnumOptions;
class EnumOptionsDefaultTypeInternal; class EnumOptionsDefaultTypeInternal;
extern EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_; LIBPROTOC_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_;
class EnumValueDescriptorProto; class EnumValueDescriptorProto;
class EnumValueDescriptorProtoDefaultTypeInternal; class EnumValueDescriptorProtoDefaultTypeInternal;
extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_; LIBPROTOC_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_;
class EnumValueOptions; class EnumValueOptions;
class EnumValueOptionsDefaultTypeInternal; class EnumValueOptionsDefaultTypeInternal;
extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_; LIBPROTOC_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_;
class FieldDescriptorProto; class FieldDescriptorProto;
class FieldDescriptorProtoDefaultTypeInternal; class FieldDescriptorProtoDefaultTypeInternal;
extern FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_; LIBPROTOC_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_;
class FieldOptions; class FieldOptions;
class FieldOptionsDefaultTypeInternal; class FieldOptionsDefaultTypeInternal;
extern FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_; LIBPROTOC_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_;
class FileDescriptorProto; class FileDescriptorProto;
class FileDescriptorProtoDefaultTypeInternal; class FileDescriptorProtoDefaultTypeInternal;
extern FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_; LIBPROTOC_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_;
class FileDescriptorSet; class FileDescriptorSet;
class FileDescriptorSetDefaultTypeInternal; class FileDescriptorSetDefaultTypeInternal;
extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_; LIBPROTOC_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_;
class FileOptions; class FileOptions;
class FileOptionsDefaultTypeInternal; class FileOptionsDefaultTypeInternal;
extern FileOptionsDefaultTypeInternal _FileOptions_default_instance_; LIBPROTOC_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_instance_;
class GeneratedCodeInfo; class GeneratedCodeInfo;
class GeneratedCodeInfoDefaultTypeInternal; class GeneratedCodeInfoDefaultTypeInternal;
extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_; LIBPROTOC_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_;
class GeneratedCodeInfo_Annotation; class GeneratedCodeInfo_Annotation;
class GeneratedCodeInfo_AnnotationDefaultTypeInternal; class GeneratedCodeInfo_AnnotationDefaultTypeInternal;
extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_; LIBPROTOC_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_;
class MessageOptions; class MessageOptions;
class MessageOptionsDefaultTypeInternal; class MessageOptionsDefaultTypeInternal;
extern MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_; LIBPROTOC_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_;
class MethodDescriptorProto; class MethodDescriptorProto;
class MethodDescriptorProtoDefaultTypeInternal; class MethodDescriptorProtoDefaultTypeInternal;
extern MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_; LIBPROTOC_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_;
class MethodOptions; class MethodOptions;
class MethodOptionsDefaultTypeInternal; class MethodOptionsDefaultTypeInternal;
extern MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_; LIBPROTOC_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_;
class OneofDescriptorProto; class OneofDescriptorProto;
class OneofDescriptorProtoDefaultTypeInternal; class OneofDescriptorProtoDefaultTypeInternal;
extern OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_; LIBPROTOC_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_;
class OneofOptions; class OneofOptions;
class OneofOptionsDefaultTypeInternal; class OneofOptionsDefaultTypeInternal;
extern OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_; LIBPROTOC_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_;
class ServiceDescriptorProto; class ServiceDescriptorProto;
class ServiceDescriptorProtoDefaultTypeInternal; class ServiceDescriptorProtoDefaultTypeInternal;
extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_; LIBPROTOC_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_;
class ServiceOptions; class ServiceOptions;
class ServiceOptionsDefaultTypeInternal; class ServiceOptionsDefaultTypeInternal;
extern ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_; LIBPROTOC_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_;
class SourceCodeInfo; class SourceCodeInfo;
class SourceCodeInfoDefaultTypeInternal; class SourceCodeInfoDefaultTypeInternal;
extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_; LIBPROTOC_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_;
class SourceCodeInfo_Location; class SourceCodeInfo_Location;
class SourceCodeInfo_LocationDefaultTypeInternal; class SourceCodeInfo_LocationDefaultTypeInternal;
extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_; LIBPROTOC_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_;
class UninterpretedOption; class UninterpretedOption;
class UninterpretedOptionDefaultTypeInternal; class UninterpretedOptionDefaultTypeInternal;
extern UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_; LIBPROTOC_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_;
class UninterpretedOption_NamePart; class UninterpretedOption_NamePart;
class UninterpretedOption_NamePartDefaultTypeInternal; class UninterpretedOption_NamePartDefaultTypeInternal;
extern UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_; LIBPROTOC_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_;
namespace compiler { namespace compiler {
class CodeGeneratorRequest; class CodeGeneratorRequest;
class CodeGeneratorRequestDefaultTypeInternal; class CodeGeneratorRequestDefaultTypeInternal;
extern CodeGeneratorRequestDefaultTypeInternal _CodeGeneratorRequest_default_instance_; LIBPROTOC_EXPORT extern CodeGeneratorRequestDefaultTypeInternal _CodeGeneratorRequest_default_instance_;
class CodeGeneratorResponse; class CodeGeneratorResponse;
class CodeGeneratorResponseDefaultTypeInternal; class CodeGeneratorResponseDefaultTypeInternal;
extern CodeGeneratorResponseDefaultTypeInternal _CodeGeneratorResponse_default_instance_; LIBPROTOC_EXPORT extern CodeGeneratorResponseDefaultTypeInternal _CodeGeneratorResponse_default_instance_;
class CodeGeneratorResponse_File; class CodeGeneratorResponse_File;
class CodeGeneratorResponse_FileDefaultTypeInternal; class CodeGeneratorResponse_FileDefaultTypeInternal;
extern CodeGeneratorResponse_FileDefaultTypeInternal _CodeGeneratorResponse_File_default_instance_; LIBPROTOC_EXPORT extern CodeGeneratorResponse_FileDefaultTypeInternal _CodeGeneratorResponse_File_default_instance_;
class Version; class Version;
class VersionDefaultTypeInternal; class VersionDefaultTypeInternal;
extern VersionDefaultTypeInternal _Version_default_instance_; LIBPROTOC_EXPORT extern VersionDefaultTypeInternal _Version_default_instance_;
} // namespace compiler } // namespace compiler
} // namespace protobuf } // namespace protobuf
} // namespace google } // namespace google
......
...@@ -33,79 +33,79 @@ namespace google { ...@@ -33,79 +33,79 @@ namespace google {
namespace protobuf { namespace protobuf {
class DescriptorProto; class DescriptorProto;
class DescriptorProtoDefaultTypeInternal; class DescriptorProtoDefaultTypeInternal;
extern DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_; LIBPROTOBUF_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_;
class DescriptorProto_ExtensionRange; class DescriptorProto_ExtensionRange;
class DescriptorProto_ExtensionRangeDefaultTypeInternal; class DescriptorProto_ExtensionRangeDefaultTypeInternal;
extern DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_; LIBPROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_;
class DescriptorProto_ReservedRange; class DescriptorProto_ReservedRange;
class DescriptorProto_ReservedRangeDefaultTypeInternal; class DescriptorProto_ReservedRangeDefaultTypeInternal;
extern DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_; LIBPROTOBUF_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_;
class EnumDescriptorProto; class EnumDescriptorProto;
class EnumDescriptorProtoDefaultTypeInternal; class EnumDescriptorProtoDefaultTypeInternal;
extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_; LIBPROTOBUF_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_;
class EnumOptions; class EnumOptions;
class EnumOptionsDefaultTypeInternal; class EnumOptionsDefaultTypeInternal;
extern EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_; LIBPROTOBUF_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_;
class EnumValueDescriptorProto; class EnumValueDescriptorProto;
class EnumValueDescriptorProtoDefaultTypeInternal; class EnumValueDescriptorProtoDefaultTypeInternal;
extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_; LIBPROTOBUF_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_;
class EnumValueOptions; class EnumValueOptions;
class EnumValueOptionsDefaultTypeInternal; class EnumValueOptionsDefaultTypeInternal;
extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_; LIBPROTOBUF_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_;
class FieldDescriptorProto; class FieldDescriptorProto;
class FieldDescriptorProtoDefaultTypeInternal; class FieldDescriptorProtoDefaultTypeInternal;
extern FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_; LIBPROTOBUF_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_;
class FieldOptions; class FieldOptions;
class FieldOptionsDefaultTypeInternal; class FieldOptionsDefaultTypeInternal;
extern FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_; LIBPROTOBUF_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_;
class FileDescriptorProto; class FileDescriptorProto;
class FileDescriptorProtoDefaultTypeInternal; class FileDescriptorProtoDefaultTypeInternal;
extern FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_; LIBPROTOBUF_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_;
class FileDescriptorSet; class FileDescriptorSet;
class FileDescriptorSetDefaultTypeInternal; class FileDescriptorSetDefaultTypeInternal;
extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_; LIBPROTOBUF_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_;
class FileOptions; class FileOptions;
class FileOptionsDefaultTypeInternal; class FileOptionsDefaultTypeInternal;
extern FileOptionsDefaultTypeInternal _FileOptions_default_instance_; LIBPROTOBUF_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_instance_;
class GeneratedCodeInfo; class GeneratedCodeInfo;
class GeneratedCodeInfoDefaultTypeInternal; class GeneratedCodeInfoDefaultTypeInternal;
extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_; LIBPROTOBUF_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_;
class GeneratedCodeInfo_Annotation; class GeneratedCodeInfo_Annotation;
class GeneratedCodeInfo_AnnotationDefaultTypeInternal; class GeneratedCodeInfo_AnnotationDefaultTypeInternal;
extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_; LIBPROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_;
class MessageOptions; class MessageOptions;
class MessageOptionsDefaultTypeInternal; class MessageOptionsDefaultTypeInternal;
extern MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_; LIBPROTOBUF_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_;
class MethodDescriptorProto; class MethodDescriptorProto;
class MethodDescriptorProtoDefaultTypeInternal; class MethodDescriptorProtoDefaultTypeInternal;
extern MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_; LIBPROTOBUF_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_;
class MethodOptions; class MethodOptions;
class MethodOptionsDefaultTypeInternal; class MethodOptionsDefaultTypeInternal;
extern MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_; LIBPROTOBUF_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_;
class OneofDescriptorProto; class OneofDescriptorProto;
class OneofDescriptorProtoDefaultTypeInternal; class OneofDescriptorProtoDefaultTypeInternal;
extern OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_; LIBPROTOBUF_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_;
class OneofOptions; class OneofOptions;
class OneofOptionsDefaultTypeInternal; class OneofOptionsDefaultTypeInternal;
extern OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_; LIBPROTOBUF_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_;
class ServiceDescriptorProto; class ServiceDescriptorProto;
class ServiceDescriptorProtoDefaultTypeInternal; class ServiceDescriptorProtoDefaultTypeInternal;
extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_; LIBPROTOBUF_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_;
class ServiceOptions; class ServiceOptions;
class ServiceOptionsDefaultTypeInternal; class ServiceOptionsDefaultTypeInternal;
extern ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_; LIBPROTOBUF_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_;
class SourceCodeInfo; class SourceCodeInfo;
class SourceCodeInfoDefaultTypeInternal; class SourceCodeInfoDefaultTypeInternal;
extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_; LIBPROTOBUF_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_;
class SourceCodeInfo_Location; class SourceCodeInfo_Location;
class SourceCodeInfo_LocationDefaultTypeInternal; class SourceCodeInfo_LocationDefaultTypeInternal;
extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_; LIBPROTOBUF_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_;
class UninterpretedOption; class UninterpretedOption;
class UninterpretedOptionDefaultTypeInternal; class UninterpretedOptionDefaultTypeInternal;
extern UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_; LIBPROTOBUF_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_;
class UninterpretedOption_NamePart; class UninterpretedOption_NamePart;
class UninterpretedOption_NamePartDefaultTypeInternal; class UninterpretedOption_NamePartDefaultTypeInternal;
extern UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_; LIBPROTOBUF_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_;
} // namespace protobuf } // namespace protobuf
} // namespace google } // namespace google
......
...@@ -32,7 +32,7 @@ namespace google { ...@@ -32,7 +32,7 @@ namespace google {
namespace protobuf { namespace protobuf {
class Duration; class Duration;
class DurationDefaultTypeInternal; class DurationDefaultTypeInternal;
extern DurationDefaultTypeInternal _Duration_default_instance_; LIBPROTOBUF_EXPORT extern DurationDefaultTypeInternal _Duration_default_instance_;
} // namespace protobuf } // namespace protobuf
} // namespace google } // namespace google
......
...@@ -32,7 +32,7 @@ namespace google { ...@@ -32,7 +32,7 @@ namespace google {
namespace protobuf { namespace protobuf {
class Empty; class Empty;
class EmptyDefaultTypeInternal; class EmptyDefaultTypeInternal;
extern EmptyDefaultTypeInternal _Empty_default_instance_; LIBPROTOBUF_EXPORT extern EmptyDefaultTypeInternal _Empty_default_instance_;
} // namespace protobuf } // namespace protobuf
} // namespace google } // namespace google
......
...@@ -32,7 +32,7 @@ namespace google { ...@@ -32,7 +32,7 @@ namespace google {
namespace protobuf { namespace protobuf {
class FieldMask; class FieldMask;
class FieldMaskDefaultTypeInternal; class FieldMaskDefaultTypeInternal;
extern FieldMaskDefaultTypeInternal _FieldMask_default_instance_; LIBPROTOBUF_EXPORT extern FieldMaskDefaultTypeInternal _FieldMask_default_instance_;
} // namespace protobuf } // namespace protobuf
} // namespace google } // namespace google
......
...@@ -32,7 +32,7 @@ namespace google { ...@@ -32,7 +32,7 @@ namespace google {
namespace protobuf { namespace protobuf {
class SourceContext; class SourceContext;
class SourceContextDefaultTypeInternal; class SourceContextDefaultTypeInternal;
extern SourceContextDefaultTypeInternal _SourceContext_default_instance_; LIBPROTOBUF_EXPORT extern SourceContextDefaultTypeInternal _SourceContext_default_instance_;
} // namespace protobuf } // namespace protobuf
} // namespace google } // namespace google
......
...@@ -35,13 +35,13 @@ namespace google { ...@@ -35,13 +35,13 @@ namespace google {
namespace protobuf { namespace protobuf {
class ListValue; class ListValue;
class ListValueDefaultTypeInternal; class ListValueDefaultTypeInternal;
extern ListValueDefaultTypeInternal _ListValue_default_instance_; LIBPROTOBUF_EXPORT extern ListValueDefaultTypeInternal _ListValue_default_instance_;
class Struct; class Struct;
class StructDefaultTypeInternal; class StructDefaultTypeInternal;
extern StructDefaultTypeInternal _Struct_default_instance_; LIBPROTOBUF_EXPORT extern StructDefaultTypeInternal _Struct_default_instance_;
class Value; class Value;
class ValueDefaultTypeInternal; class ValueDefaultTypeInternal;
extern ValueDefaultTypeInternal _Value_default_instance_; LIBPROTOBUF_EXPORT extern ValueDefaultTypeInternal _Value_default_instance_;
} // namespace protobuf } // namespace protobuf
} // namespace google } // namespace google
......
...@@ -32,7 +32,7 @@ namespace google { ...@@ -32,7 +32,7 @@ namespace google {
namespace protobuf { namespace protobuf {
class Timestamp; class Timestamp;
class TimestampDefaultTypeInternal; class TimestampDefaultTypeInternal;
extern TimestampDefaultTypeInternal _Timestamp_default_instance_; LIBPROTOBUF_EXPORT extern TimestampDefaultTypeInternal _Timestamp_default_instance_;
} // namespace protobuf } // namespace protobuf
} // namespace google } // namespace google
......
...@@ -35,25 +35,25 @@ namespace google { ...@@ -35,25 +35,25 @@ namespace google {
namespace protobuf { namespace protobuf {
class Any; class Any;
class AnyDefaultTypeInternal; class AnyDefaultTypeInternal;
extern AnyDefaultTypeInternal _Any_default_instance_; LIBPROTOBUF_EXPORT extern AnyDefaultTypeInternal _Any_default_instance_;
class Enum; class Enum;
class EnumDefaultTypeInternal; class EnumDefaultTypeInternal;
extern EnumDefaultTypeInternal _Enum_default_instance_; LIBPROTOBUF_EXPORT extern EnumDefaultTypeInternal _Enum_default_instance_;
class EnumValue; class EnumValue;
class EnumValueDefaultTypeInternal; class EnumValueDefaultTypeInternal;
extern EnumValueDefaultTypeInternal _EnumValue_default_instance_; LIBPROTOBUF_EXPORT extern EnumValueDefaultTypeInternal _EnumValue_default_instance_;
class Field; class Field;
class FieldDefaultTypeInternal; class FieldDefaultTypeInternal;
extern FieldDefaultTypeInternal _Field_default_instance_; LIBPROTOBUF_EXPORT extern FieldDefaultTypeInternal _Field_default_instance_;
class Option; class Option;
class OptionDefaultTypeInternal; class OptionDefaultTypeInternal;
extern OptionDefaultTypeInternal _Option_default_instance_; LIBPROTOBUF_EXPORT extern OptionDefaultTypeInternal _Option_default_instance_;
class SourceContext; class SourceContext;
class SourceContextDefaultTypeInternal; class SourceContextDefaultTypeInternal;
extern SourceContextDefaultTypeInternal _SourceContext_default_instance_; LIBPROTOBUF_EXPORT extern SourceContextDefaultTypeInternal _SourceContext_default_instance_;
class Type; class Type;
class TypeDefaultTypeInternal; class TypeDefaultTypeInternal;
extern TypeDefaultTypeInternal _Type_default_instance_; LIBPROTOBUF_EXPORT extern TypeDefaultTypeInternal _Type_default_instance_;
} // namespace protobuf } // namespace protobuf
} // namespace google } // namespace google
......
...@@ -32,31 +32,31 @@ namespace google { ...@@ -32,31 +32,31 @@ namespace google {
namespace protobuf { namespace protobuf {
class BoolValue; class BoolValue;
class BoolValueDefaultTypeInternal; class BoolValueDefaultTypeInternal;
extern BoolValueDefaultTypeInternal _BoolValue_default_instance_; LIBPROTOBUF_EXPORT extern BoolValueDefaultTypeInternal _BoolValue_default_instance_;
class BytesValue; class BytesValue;
class BytesValueDefaultTypeInternal; class BytesValueDefaultTypeInternal;
extern BytesValueDefaultTypeInternal _BytesValue_default_instance_; LIBPROTOBUF_EXPORT extern BytesValueDefaultTypeInternal _BytesValue_default_instance_;
class DoubleValue; class DoubleValue;
class DoubleValueDefaultTypeInternal; class DoubleValueDefaultTypeInternal;
extern DoubleValueDefaultTypeInternal _DoubleValue_default_instance_; LIBPROTOBUF_EXPORT extern DoubleValueDefaultTypeInternal _DoubleValue_default_instance_;
class FloatValue; class FloatValue;
class FloatValueDefaultTypeInternal; class FloatValueDefaultTypeInternal;
extern FloatValueDefaultTypeInternal _FloatValue_default_instance_; LIBPROTOBUF_EXPORT extern FloatValueDefaultTypeInternal _FloatValue_default_instance_;
class Int32Value; class Int32Value;
class Int32ValueDefaultTypeInternal; class Int32ValueDefaultTypeInternal;
extern Int32ValueDefaultTypeInternal _Int32Value_default_instance_; LIBPROTOBUF_EXPORT extern Int32ValueDefaultTypeInternal _Int32Value_default_instance_;
class Int64Value; class Int64Value;
class Int64ValueDefaultTypeInternal; class Int64ValueDefaultTypeInternal;
extern Int64ValueDefaultTypeInternal _Int64Value_default_instance_; LIBPROTOBUF_EXPORT extern Int64ValueDefaultTypeInternal _Int64Value_default_instance_;
class StringValue; class StringValue;
class StringValueDefaultTypeInternal; class StringValueDefaultTypeInternal;
extern StringValueDefaultTypeInternal _StringValue_default_instance_; LIBPROTOBUF_EXPORT extern StringValueDefaultTypeInternal _StringValue_default_instance_;
class UInt32Value; class UInt32Value;
class UInt32ValueDefaultTypeInternal; class UInt32ValueDefaultTypeInternal;
extern UInt32ValueDefaultTypeInternal _UInt32Value_default_instance_; LIBPROTOBUF_EXPORT extern UInt32ValueDefaultTypeInternal _UInt32Value_default_instance_;
class UInt64Value; class UInt64Value;
class UInt64ValueDefaultTypeInternal; class UInt64ValueDefaultTypeInternal;
extern UInt64ValueDefaultTypeInternal _UInt64Value_default_instance_; LIBPROTOBUF_EXPORT extern UInt64ValueDefaultTypeInternal _UInt64Value_default_instance_;
} // namespace protobuf } // namespace protobuf
} // namespace google } // namespace google
......
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