| 777 | /* ── Incremental carry-forward ───────────────────────────────────── */ |
| 778 | |
| 779 | static bool copy_row(cbm_doc_link_row_t *dst, const cbm_doc_link_row_t *src) { |
| 780 | dst->rel_path = dup_or_empty(src->rel_path); |
| 781 | dst->line = src->line; |
| 782 | dst->syntax = dup_or_empty(src->syntax); |
| 783 | dst->raw = dup_or_empty(src->raw); |
| 784 | dst->reason = dup_or_empty(src->reason); |
| 785 | return dst->rel_path && dst->syntax && dst->raw && dst->reason; |
| 786 | } |
| 787 | |
| 788 | int cbm_doclinks_merge_rows(const cbm_doc_link_row_t *old_rows, int old_count, |
| 789 | const CBMHashTable *replaced, const cbm_doc_link_row_t *fresh, |
no test coverage detected