|
`piece_table_to_string` now receives a buffer and we also provide a
function that returns the length of the piece table.
TODO: the `piece_table_to_string` adds null termination, that makes the
buffer needed `piece_table_length(pt) + 1`. This we should document or
do more obvious.
|