File indexing completed on 2025-01-30 10:25:24
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef UPB_REFLECTION_ONEOF_DEF_INTERNAL_H_
0009 #define UPB_REFLECTION_ONEOF_DEF_INTERNAL_H_
0010
0011 #include "upb/reflection/oneof_def.h"
0012
0013
0014 #include "upb/port/def.inc"
0015
0016 #ifdef __cplusplus
0017 extern "C" {
0018 #endif
0019
0020 upb_OneofDef* _upb_OneofDef_At(const upb_OneofDef* o, int i);
0021 void _upb_OneofDef_Insert(upb_DefBuilder* ctx, upb_OneofDef* o,
0022 const upb_FieldDef* f, const char* name, size_t size);
0023
0024
0025 upb_OneofDef* _upb_OneofDefs_New(upb_DefBuilder* ctx, int n,
0026 const UPB_DESC(OneofDescriptorProto*)
0027 const* protos,
0028 const UPB_DESC(FeatureSet*) parent_features,
0029 upb_MessageDef* m);
0030
0031 size_t _upb_OneofDefs_Finalize(upb_DefBuilder* ctx, upb_MessageDef* m);
0032
0033 #ifdef __cplusplus
0034 }
0035 #endif
0036
0037 #include "upb/port/undef.inc"
0038
0039 #endif