Skip to content

Commit f3e469c

Browse files
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

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ OpenCSTL과 대응하는 C++ STL 코드입니다.
193193
H(hashtable.h)
194194
end
195195
196-
B(bitset.h) --> OCSTL(opencstl.h)
196+
B(bitset.h) --> OCSTL(opencstl.h)
197+
STR(string.h) --> OCSTL(opencstl.h)
197198
V(vector.h) --> OCSTL(opencstl.h)
198199
LST(list.h) --> OCSTL(opencstl.h)
199200
TREE(tree.h) --> OCSTL(opencstl.h)

assets/blogo.png

-20 Bytes
Loading

0 commit comments

Comments
 (0)