Commit f3e469c
committed
Replace zalloc with calloc/free, add verify
Replace many uses of the project's custom zalloc/zrealloc/zfree with standard calloc/realloc/free across core containers (vector, deque, list, tree, hashtable, bitset, msort, arena, etc.). Add memory-tracking wrappers and macros under OPENCSTL_TRACER, introduce verify.h (verify macro and failure handler), begin string.h (string utilities skeleton), and adjust tracer/logging messages and diagnostic pragmas. Also include small helper and README updates (add string.h to README, adjust write_title spacing) and an updated asset image. These changes unify allocation calls, add verification utilities, and prepare for tracer-based memory instrumentation.1 parent c35c238 commit f3e469c
19 files changed
Lines changed: 1047 additions & 811 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
| 197 | + | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
| |||
Loading
0 commit comments