upb: upb_MiniTable_MessageFieldIsLinked() -> upb_MiniTable_FieldIsLinked()

PiperOrigin-RevId: 622902387
pull/16439/head
Eric Salo 8 months ago committed by Copybara-Service
parent 59b938b715
commit bcd44f65c8
  1. 2
      upb/mini_table/internal/message.h
  2. 4
      upb/mini_table/message.h

@ -143,7 +143,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;
}

@ -52,8 +52,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.
//

Loading…
Cancel
Save