Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-29 09:25:40

0001 // Protocol Buffers - Google's data interchange format
0002 // Copyright 2023 Google LLC.  All rights reserved.
0003 //
0004 // Use of this source code is governed by a BSD-style
0005 // license that can be found in the LICENSE file or at
0006 // https://developers.google.com/open-source/licenses/bsd
0007 
0008 #ifndef UPB_GENERATED_CODE_SUPPORT_H_
0009 #define UPB_GENERATED_CODE_SUPPORT_H_
0010 
0011 // This is a bit awkward; we want to conditionally include the fast decoder,
0012 // but we generally don't let macros like UPB_FASTTABLE leak into user code.
0013 // We can't #include "decode_fast.h" inside the port/def.inc, because the
0014 // inc files strictly prohibit recursive inclusion, and decode_fast.h includes
0015 // port/def.inc. So instead we use this two-part dance to conditionally include
0016 // decode_fast.h.
0017 #include "upb/port/def.inc"
0018 #if UPB_FASTTABLE
0019 #define UPB_INCLUDE_FAST_DECODE
0020 #endif
0021 #include "upb/port/undef.inc"
0022 
0023 // IWYU pragma: begin_exports
0024 #include "upb/base/upcast.h"
0025 #include "upb/message/accessors.h"
0026 #include "upb/message/array.h"
0027 #include "upb/message/internal/accessors.h"
0028 #include "upb/message/internal/array.h"
0029 #include "upb/message/internal/extension.h"
0030 #include "upb/message/internal/message.h"
0031 #include "upb/message/map_gencode_util.h"
0032 #include "upb/message/message.h"
0033 #include "upb/mini_descriptor/decode.h"
0034 #include "upb/mini_table/enum.h"
0035 #include "upb/mini_table/extension.h"
0036 #include "upb/mini_table/extension_registry.h"
0037 #include "upb/mini_table/field.h"
0038 #include "upb/mini_table/file.h"
0039 #include "upb/mini_table/message.h"
0040 #include "upb/mini_table/sub.h"
0041 #include "upb/wire/decode.h"
0042 #include "upb/wire/encode.h"
0043 #ifdef UPB_INCLUDE_FAST_DECODE
0044 #include "upb/wire/decode_fast/field_parsers.h"
0045 #endif
0046 // IWYU pragma: end_exports
0047 
0048 #undef UPB_INCLUDE_FAST_DECODE
0049 
0050 #endif  // UPB_GENERATED_CODE_SUPPORT_H_