|
|
|
@ -3368,13 +3368,12 @@ UPB_API_INLINE bool upb_Message_SetInt64(struct upb_Message* msg, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Sets the value of a message-typed field. The mini_tables of `msg` and
|
|
|
|
|
// `sub_message` must have been linked for this to work correctly.
|
|
|
|
|
// `value` must have been linked for this to work correctly.
|
|
|
|
|
UPB_API_INLINE void upb_Message_SetMessage(struct upb_Message* msg, |
|
|
|
|
const upb_MiniTable* m, |
|
|
|
|
const upb_MiniTableField* f, |
|
|
|
|
struct upb_Message* sub_message) { |
|
|
|
|
struct upb_Message* value) { |
|
|
|
|
UPB_PRIVATE(_upb_Message_SetTaggedMessagePtr) |
|
|
|
|
(msg, f, UPB_PRIVATE(_upb_TaggedMessagePtr_Pack)(sub_message, false)); |
|
|
|
|
(msg, f, UPB_PRIVATE(_upb_TaggedMessagePtr_Pack)(value, false)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Sets the value of a `string` or `bytes` field. The bytes of the value are not
|
|
|
|
@ -3816,9 +3815,8 @@ UPB_API_INLINE bool upb_Message_SetInt64(upb_Message* msg, |
|
|
|
|
int64_t value, upb_Arena* a); |
|
|
|
|
|
|
|
|
|
UPB_API_INLINE void upb_Message_SetMessage(upb_Message* msg, |
|
|
|
|
const upb_MiniTable* m, |
|
|
|
|
const upb_MiniTableField* f, |
|
|
|
|
upb_Message* sub_message); |
|
|
|
|
upb_Message* value); |
|
|
|
|
|
|
|
|
|
UPB_API_INLINE bool upb_Message_SetString(upb_Message* msg, |
|
|
|
|
const upb_MiniTableField* f, |
|
|
|
|