* discarded events. We do not allow wrapping here. If it's
* valid, update the stream's current count.
*/
- if (bt_ctf_field_value_is_set(field)) {
+ if (bt_ctf_field_is_set(field)) {
uint64_t user_val;
ret = bt_ctf_field_unsigned_integer_get_value(field,
member = bt_ctf_field_structure_get_field(structure, name);
if (member) {
- (void) bt_ctf_field_reset_value(member);
+ (void) bt_ctf_field_reset(member);
bt_put(member);
}
}
}
/* Make sure the payload has not already been set. */
- if (!force && bt_ctf_field_value_is_set(integer)) {
+ if (!force && bt_ctf_field_is_set(integer)) {
/* Payload already set, not an error */
BT_LOGV("Field's payload is already set: struct-field-addr=%p, "
"name=\"%s\", force=%d", structure, name, force);