|
|
|
@ -1586,7 +1586,7 @@ UPB_API_INLINE const struct upb_MiniTableField* upb_MiniTable_MapValue( |
|
|
|
|
return f; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
UPB_API_INLINE bool upb_MiniTable_MessageFieldIsLinked( |
|
|
|
|
UPB_API_INLINE bool upb_MiniTable_FieldIsLinked( |
|
|
|
|
const struct upb_MiniTable* m, const struct upb_MiniTableField* f) { |
|
|
|
|
return upb_MiniTable_GetSubMessageTable(m, f) != NULL; |
|
|
|
|
} |
|
|
|
@ -1663,8 +1663,8 @@ UPB_API_INLINE const upb_MiniTableField* upb_MiniTable_MapValue( |
|
|
|
|
|
|
|
|
|
// Returns true if this MiniTable field is linked to a MiniTable for the
|
|
|
|
|
// sub-message.
|
|
|
|
|
UPB_API_INLINE bool upb_MiniTable_MessageFieldIsLinked( |
|
|
|
|
const upb_MiniTable* m, const upb_MiniTableField* f); |
|
|
|
|
UPB_API_INLINE bool upb_MiniTable_FieldIsLinked(const upb_MiniTable* m, |
|
|
|
|
const upb_MiniTableField* f); |
|
|
|
|
|
|
|
|
|
// If this field is in a oneof, returns the first field in the oneof.
|
|
|
|
|
//
|
|
|
|
|