Commit Graph

19 Commits (main)

Author SHA1 Message Date
Brett befd5e0ca1 include the abort anyways incase your linter is stupid 2024-08-03 19:51:20 -04:00
Brett e979447de0 when assertions fail throw an exception instead of aborting 2024-08-03 19:50:26 -04:00
Brett fb17ff16c0 abort correctiono 2024-08-02 23:46:51 -04:00
Brett 7a551435a0 doctor give me exceptions 2024-08-02 23:30:17 -04:00
Brett 9a437ec75a make abort use abort() 2024-07-12 21:49:02 -04:00
Brett f3451b57ab vector 2024-06-30 03:20:47 -04:00
Brett ac163a34b9 abort 2024-06-24 01:05:44 -04:00
Brett 943fb84211 fix missing ; 2024-05-05 13:14:41 -04:00
Brett 527595e1cf add assert with custom runtime fail message 2024-01-31 17:24:46 -05:00
Brett 215a596d21 assert print function 2024-01-31 17:13:22 -05:00
Brett 2cc2b2d262 add cstdlib to assert.h because it's needed for exit() 2024-01-30 00:38:38 -05:00
Brett 02c62a2d63 move blackboxes to system 2023-11-22 21:21:17 -05:00
Brett fd9fa5454d compiler support for blackbox 2023-11-14 01:05:28 -05:00
Brett 3d7abd2765 fix assert, working on loading 2023-11-13 15:15:27 -05:00
Brett 5a07594e42 fix assert 2023-10-15 17:48:10 -04:00
Brett 215220f98b move defines to c++ 2023-09-07 00:23:13 -04:00
Brett 465f1a4fc8 fix assert not requiring ; at the end 2023-09-07 00:21:02 -04:00
Brett 1b4e36416a make exception API more consistent
blt_throw no longer halts execution
BLT_THROW has been added which throws the exception
2023-08-23 15:26:36 -04:00
Brett 9348207ffb Add exceptions / assertions
Only works for linux / GNU
2023-08-23 15:23:47 -04:00