1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2023 Google LLC. All rights reserved.
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
8 #ifndef THIRD_PARTY_UPB_UPB_GENERATOR_MINITABLE_FASTTABLE_H_
9 #define THIRD_PARTY_UPB_UPB_GENERATOR_MINITABLE_FASTTABLE_H_
16 #include "upb/reflection/def.hpp"
17 #include "upb_generator/file_layout.h"
22 typedef std::pair
<std::string
, uint64_t> TableEntry
;
24 std::vector
<TableEntry
> FastDecodeTable(upb::MessageDefPtr message
,
25 const DefPoolPair
& pools
);
27 } // namespace generator
30 #endif // THIRD_PARTY_UPB_UPB_GENERATOR_MINITABLE_FASTTABLE_H_