diff --git a/php/ext/google/protobuf/php-upb.h b/php/ext/google/protobuf/php-upb.h index 07339bd476..8782584a1a 100644 --- a/php/ext/google/protobuf/php-upb.h +++ b/php/ext/google/protobuf/php-upb.h @@ -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. // diff --git a/ruby/ext/google/protobuf_c/ruby-upb.h b/ruby/ext/google/protobuf_c/ruby-upb.h index 15fc3a73cf..9e91530e08 100755 --- a/ruby/ext/google/protobuf_c/ruby-upb.h +++ b/ruby/ext/google/protobuf_c/ruby-upb.h @@ -1588,7 +1588,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; } @@ -1665,8 +1665,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. //