fix broken Dart unit tests

Mark upb_Message_GetOrCreateMutableArray() as UPB_API_INLINE
Update the kernel ffi code to reflect the new function signature
Rerun ffigen

PiperOrigin-RevId: 498019021
pull/13171/head
Eric Salo 2 years ago committed by Copybara-Service
parent 003ecb3125
commit 1e28a99baa
  1. 2
      upb/message/accessors.h

@ -582,7 +582,7 @@ UPB_API_INLINE upb_Array* upb_Message_GetMutableArray(
return (upb_Array*)upb_Message_GetArray(msg, field);
}
UPB_INLINE upb_Array* upb_Message_GetOrCreateMutableArray(
UPB_API_INLINE upb_Array* upb_Message_GetOrCreateMutableArray(
upb_Message* msg, const upb_MiniTableField* field, upb_Arena* arena) {
_upb_MiniTableField_CheckIsArray(field);
upb_Array* array = upb_Message_GetMutableArray(msg, field);

Loading…
Cancel
Save