Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
586 B
21 lines
586 B
4 months ago
|
// Protocol Buffers - Google's data interchange format
|
||
|
// Copyright 2024 Google LLC. All rights reserved.
|
||
|
//
|
||
|
// Use of this source code is governed by a BSD-style
|
||
|
// license that can be found in the LICENSE file or at
|
||
|
// https://developers.google.com/open-source/licenses/bsd
|
||
|
|
||
|
#include "google/protobuf/hpb/extension.h"
|
||
|
|
||
|
#include "upb/mini_table/extension_registry.h"
|
||
|
|
||
|
namespace hpb {
|
||
|
namespace internal {
|
||
|
upb_ExtensionRegistry* GetUpbExtensions(
|
||
|
const ExtensionRegistry& extension_registry) {
|
||
|
return extension_registry.registry_;
|
||
|
}
|
||
|
|
||
|
} // namespace internal
|
||
|
} // namespace hpb
|