Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:13:17

0001 // Protocol Buffers - Google's data interchange format
0002 // Copyright 2024 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 THIRD_PARTY_UPB_UPB_MESSAGE_INTERNAL_ITERATOR_H_
0009 #define THIRD_PARTY_UPB_UPB_MESSAGE_INTERNAL_ITERATOR_H_
0010 
0011 #include <stddef.h>
0012 
0013 #include "upb/message/message.h"
0014 #include "upb/message/value.h"
0015 #include "upb/mini_table/extension.h"
0016 #include "upb/mini_table/field.h"
0017 #include "upb/mini_table/message.h"
0018 
0019 // Must be last.
0020 #include "upb/port/def.inc"
0021 
0022 #define kUpb_BaseField_Begin ((size_t)-1)
0023 #define kUpb_Extension_Begin ((size_t)-1)
0024 
0025 bool UPB_PRIVATE(_upb_Message_NextBaseField)(const upb_Message* msg,
0026                                              const upb_MiniTable* m,
0027                                              const upb_MiniTableField** out_f,
0028                                              upb_MessageValue* out_v,
0029                                              size_t* iter);
0030 
0031 bool UPB_PRIVATE(_upb_Message_NextExtension)(
0032     const upb_Message* msg, const upb_MiniTable* m,
0033     const upb_MiniTableExtension** out_e, upb_MessageValue* out_v,
0034     size_t* iter);
0035 #endif  // THIRD_PARTY_UPB_UPB_MESSAGE_INTERNAL_ITERATOR_H_