protocolbuffers / protobuf

Protocol Buffers - Google's data interchange format
http://protobuf.dev
Other
65.81k stars 15.51k forks source link

hpb: Remove :extension as a dep for :hpb #19329

Closed copybara-service[bot] closed 1 day ago

copybara-service[bot] commented 1 day ago

hpb: Remove :extension as a dep for :hpb

This cl cleans up a T*/Ptr func to delegate, and also removes hpb from having extension as a dependency. This way, we can avoid a cycle when including repeated_field from extension.h

Parse that takes in an extregistry has been moved out of hpb.h to extension.h