diff options
| author | _ov4 <ov4@ov4.org> | 2026-07-26 12:17:20 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-07-26 12:17:20 +0000 |
| commit | 9164871fe4982bdd12866eb28ebded68ca3dacd1 (patch) | |
| tree | 7cfd061e731958071f833d0a8932cc45c51ad455 /include/cps/ArrayHandler.h | |
| parent | 1749b2b4a3e55db7c9bed95376f99b7f07932b49 (diff) | |
refactor: dedupe StringHandler case-convert and substring-copy code
emitLCase/emitUCase were a 45-line verbatim pair differing only in the
libc callee; both now delegate to emitCaseConvert(Str, CaseFn). The
malloc+memcpy+NUL tail duplicated across emitMid/emitRight/emitLeft
moves into allocCopySubstring; each function keeps its own clamp logic,
which is intentionally different.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'include/cps/ArrayHandler.h')
0 files changed, 0 insertions, 0 deletions
