mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
* mem: add macro to assert on memory leak in scope Implement `mem::@assert_leak` to assert on a memory leak in the scope of the macro body. Memory report for the leak can be disabled by setting the boolean argument to false. * fix: add conditional compilation flags * Moved the code into `mem.c3` and made it a builtin. --------- Co-authored-by: Christoffer Lerno <christoffer@aegik.com>