File indexing completed on 2025-01-18 10:13:18
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef UPB_MINI_TABLE_SUB_H_
0009 #define UPB_MINI_TABLE_SUB_H_
0010
0011 #include "upb/mini_table/enum.h"
0012 #include "upb/mini_table/internal/sub.h"
0013 #include "upb/mini_table/message.h"
0014
0015
0016 #include "upb/port/def.inc"
0017
0018 typedef union upb_MiniTableSub upb_MiniTableSub;
0019
0020 #ifdef __cplusplus
0021 extern "C" {
0022 #endif
0023
0024
0025
0026 UPB_API_INLINE upb_MiniTableSub
0027 upb_MiniTableSub_FromEnum(const upb_MiniTableEnum* subenum);
0028
0029 UPB_API_INLINE upb_MiniTableSub
0030 upb_MiniTableSub_FromMessage(const upb_MiniTable* submsg);
0031
0032
0033
0034 UPB_API_INLINE const upb_MiniTableEnum* upb_MiniTableSub_Enum(
0035 upb_MiniTableSub sub);
0036
0037 UPB_API_INLINE const upb_MiniTable* upb_MiniTableSub_Message(
0038 upb_MiniTableSub sub);
0039
0040 #ifdef __cplusplus
0041 }
0042 #endif
0043
0044 #include "upb/port/undef.inc"
0045
0046 #endif