Revise module docs for accuracy and one voice #13
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/review-prose"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Module pages were checked against the headers and the implementations. Each page now has one example and states return codes and ownership the way the code behaves.
Tutorial walkthroughs, including linkedlist and binarytree, are a single init, use, and destroy example. Per-function samples that repeated that example are gone.
Contracts that did not match the source:
lf_reallocarrayis the local function on every supported platform. It does not call the systemreallocarray.lf_dir_nextleaves the previous name in place when it returns1or-1.LF_BIT_TESTreturns the place value, not 0 or 1. OnlyLF_BIT_INSERTevaluatesx,start, andwidthtwice.lf_bitset_initzeroes a non-NULL handle. A NULL handle is not written.lfstr_copy_arenareturns-1when the allocator is NULL. It does not fall back tomalloc.remove,replace, and rehash do to pointers already yielded.README configure lines use
cmake -S . -B build.include/lfbitops.hstill says every macro argument is evaluated more than once. The macros do not. This change documents the definitions and does not edit the header.puzzle,rng,intern, andprocesswere already in this voice and were left as they were.