Document the return value of `upb_Message_SetField`.

PiperOrigin-RevId: 612961189
pull/16055/head
Éamonn McManus 9 months ago committed by Copybara-Service
parent 9a262c2091
commit 507f037f7e
  1. 3
      upb/message/accessors.h

@ -78,6 +78,9 @@ upb_Message_GetField(const upb_Message* msg, const upb_MiniTableField* field,
return ret;
}
// Sets the value of the given field in the given msg. The return value is true
// if the operation completed successfully, or false if memory allocation
// failed.
UPB_INLINE bool upb_Message_SetField(upb_Message* msg,
const upb_MiniTableField* field,
upb_MessageValue val, upb_Arena* a) {

Loading…
Cancel
Save