[breaking] rename parse() to either parse_in_place() or parse_in_arena()

This commit is contained in:
Joao Paulo Magalhaes
2022-01-04 01:50:15 +00:00
parent 5119bf8eff
commit b4a603911b
28 changed files with 593 additions and 389 deletions

View File

@@ -6,7 +6,7 @@ Roughly in order of priority:
* Review & cleanup API surface.
* Review `parse()` API: add suffixes `_in_situ` and `_in_arena` to clarify
intent. Ie:
* rename `parse(substr)` to `parse_in_situ(substr)`
* rename `parse(substr)` to `parse_in_place(substr)`
* rename `parse(csubstr)` to `parse_in_arena(csubstr)`
* turn calls to `C4_ASSERT()` into calls to `RYML_ASSERT()`
* Add emit formatting controls: