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.
34 lines
997 B
34 lines
997 B
3 months ago
|
// Protocol Buffers - Google's data interchange format
|
||
|
// Copyright 2023 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
|
||
|
|
||
|
#ifndef THIRD_PARTY_UPB_UPB_GENERATOR_REFLECTION_NAMES_H_
|
||
|
#define THIRD_PARTY_UPB_UPB_GENERATOR_REFLECTION_NAMES_H_
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
#include "absl/strings/string_view.h"
|
||
|
|
||
|
// Must be last.
|
||
|
#include "upb/port/def.inc"
|
||
|
|
||
|
namespace upb {
|
||
|
namespace generator {
|
||
|
|
||
|
// These are the publicly visible symbols defined in foo.upbdefs.h.
|
||
|
// const upb_MessageDef* <GetMessage>(upb_DefPool *s);
|
||
|
// extern const _upb_DefPool_Init <File>;
|
||
|
|
||
|
UPBC_API std::string ReflectionGetMessageSymbol(absl::string_view full_name);
|
||
|
UPBC_API std::string ReflectionFileSymbol(absl::string_view filename);
|
||
|
|
||
|
} // namespace generator
|
||
|
} // namespace upb
|
||
|
|
||
|
#include "upb/port/undef.inc"
|
||
|
|
||
|
#endif // THIRD_PARTY_UPB_UPB_GENERATOR_REFLECTION_NAMES_H_
|