File indexing completed on 2025-01-30 10:25:24
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef UPB_REFLECTION_FIELD_DEF_INTERNAL_H_
0009 #define UPB_REFLECTION_FIELD_DEF_INTERNAL_H_
0010
0011 #include "upb/reflection/field_def.h"
0012
0013
0014 #include "upb/port/def.inc"
0015
0016 #ifdef __cplusplus
0017 extern "C" {
0018 #endif
0019
0020 upb_FieldDef* _upb_FieldDef_At(const upb_FieldDef* f, int i);
0021
0022 bool _upb_FieldDef_IsClosedEnum(const upb_FieldDef* f);
0023 bool _upb_FieldDef_IsProto3Optional(const upb_FieldDef* f);
0024 int _upb_FieldDef_LayoutIndex(const upb_FieldDef* f);
0025 uint64_t _upb_FieldDef_Modifiers(const upb_FieldDef* f);
0026 void _upb_FieldDef_Resolve(upb_DefBuilder* ctx, const char* prefix,
0027 upb_FieldDef* f);
0028 void _upb_FieldDef_BuildMiniTableExtension(upb_DefBuilder* ctx,
0029 const upb_FieldDef* f);
0030
0031
0032 upb_FieldDef* _upb_Extensions_New(upb_DefBuilder* ctx, int n,
0033 const UPB_DESC(FieldDescriptorProto*)
0034 const* protos,
0035 const UPB_DESC(FeatureSet*) parent_features,
0036 const char* prefix, upb_MessageDef* m);
0037
0038
0039 upb_FieldDef* _upb_FieldDefs_New(upb_DefBuilder* ctx, int n,
0040 const UPB_DESC(FieldDescriptorProto*)
0041 const* protos,
0042 const UPB_DESC(FeatureSet*) parent_features,
0043 const char* prefix, upb_MessageDef* m,
0044 bool* is_sorted);
0045
0046
0047
0048 const upb_FieldDef** _upb_FieldDefs_Sorted(const upb_FieldDef* f, int n,
0049 upb_Arena* a);
0050
0051 #ifdef __cplusplus
0052 }
0053 #endif
0054
0055 #include "upb/port/undef.inc"
0056
0057 #endif