1 // Protocol Buffers - Google's data interchange format 2 // Copyright 2024 Google LLC. All rights reserved. 3 // 4 // Use of this source code is governed by a BSD-style 5 // license that can be found in the LICENSE file or at 6 // https://developers.google.com/open-source/licenses/bsd 7 8 #include "google/protobuf/hpb/extension.h" 9 10 #include "upb/mini_table/extension_registry.h" 11 12 namespace hpb { 13 namespace internal { GetUpbExtensions(const ExtensionRegistry & extension_registry)14upb_ExtensionRegistry* GetUpbExtensions( 15 const ExtensionRegistry& extension_registry) { 16 return extension_registry.registry_; 17 } 18 19 } // namespace internal 20 } // namespace hpb 21