summary refs log tree commit diff
path: root/dynarr.h
AgeCommit message (Collapse)Author
2025-02-08wrap multi-line macros in do/while(0) loop HEAD masterWormHeamer
turn out just a compound statement { ... } block is insufficient, because it can break if/else statements. do { ... } while(0) turns it into just a normal statement.
2025-02-06use "variadic" args in DA_PUSH to allow for (struct) {x, y, z...}WormHeamer
2025-02-06use c23 typeof instead of explicit type parameterWormHeamer
2025-02-05add stdwrm.h; fix scatc segfault; slen/sfree string not string*WormHeamer
2025-02-05add DA_PUSH_MULTWormHeamer
2025-02-05change dynarr.h to have array headers be a prefix behind themWormHeamer
this allows you to just index dynamic arrays like static ones!
2025-02-05initial commit; add dynarr.hWormHeamer