DescriptionMake ExtensionIdentifier POD.
This change lets us significantly decrease the number of static initializers
generated by protoc when Protocol Buffers extensions are used.
With this change, ExtensionIdentifier becomes a POD regardless of the runtime
mode (lite/heavy runtime). -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER does not
need to be provided either to make ExtensionIdentifier a POD.
Extensions are now registered lazily the first time that the extension
identifier is used (either by calling number() or default_instance()).
BUG=351
Patch Set 1 #Patch Set 2 : Update #
|