void bt_ctf_writer_put(struct bt_ctf_writer *writer) { if (!writer) { return; } bt_ctf_ref_put(&writer->ref_count, bt_ctf_writer_destroy); }
void bt_ctf_clock_put(struct bt_ctf_clock *clock) { if (!clock) { return; } bt_ctf_ref_put(&clock->ref_count, bt_ctf_clock_destroy); }
void bt_ctf_trace_put(struct bt_ctf_trace *trace) { if (!trace) { return; } bt_ctf_ref_put(&trace->ref_count, bt_ctf_trace_destroy); }
void bt_ctf_field_put(struct bt_ctf_field *field) { if (field) { bt_ctf_ref_put(&field->ref_count, bt_ctf_field_destroy); } }