File indexing completed on 2025-01-30 10:25:24
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef UPB_REFLECTION_MESSAGE_DEF_INTERNAL_H_
0009 #define UPB_REFLECTION_MESSAGE_DEF_INTERNAL_H_
0010
0011 #include "upb/reflection/message_def.h"
0012
0013
0014 #include "upb/port/def.inc"
0015
0016 #ifdef __cplusplus
0017 extern "C" {
0018 #endif
0019
0020 upb_MessageDef* _upb_MessageDef_At(const upb_MessageDef* m, int i);
0021 bool _upb_MessageDef_InMessageSet(const upb_MessageDef* m);
0022 bool _upb_MessageDef_Insert(upb_MessageDef* m, const char* name, size_t size,
0023 upb_value v, upb_Arena* a);
0024 void _upb_MessageDef_InsertField(upb_DefBuilder* ctx, upb_MessageDef* m,
0025 const upb_FieldDef* f);
0026 bool _upb_MessageDef_IsValidExtensionNumber(const upb_MessageDef* m, int n);
0027 void _upb_MessageDef_CreateMiniTable(upb_DefBuilder* ctx, upb_MessageDef* m);
0028 void _upb_MessageDef_LinkMiniTable(upb_DefBuilder* ctx,
0029 const upb_MessageDef* m);
0030 void _upb_MessageDef_Resolve(upb_DefBuilder* ctx, upb_MessageDef* m);
0031
0032
0033 upb_MessageDef* _upb_MessageDefs_New(upb_DefBuilder* ctx, int n,
0034 const UPB_DESC(DescriptorProto*)
0035 const* protos,
0036 const UPB_DESC(FeatureSet*)
0037 parent_features,
0038 const upb_MessageDef* containing_type);
0039
0040 #ifdef __cplusplus
0041 }
0042 #endif
0043
0044 #include "upb/port/undef.inc"
0045
0046 #endif