6 Commits

Author SHA1 Message Date
Bailey Thompson
cc17f4c6d0 Do nothing when freeing NULL (#141) 2020-10-02 19:22:31 -04:00
Bailey Thompson
6af6778702 Create add_all functions (#118)
Create add_all functions for many containers, which adds all the elements
of an array to the container.
2020-08-19 15:13:11 -04:00
Bailey Thompson
b7cd535c6c Add "overflow" checking (#115)
Add checking and correction for unsigned integer wrapping.
2020-08-18 01:49:11 -04:00
Bailey Thompson
e3bc87298f Simplify return values (#114)
Introduce bk_err and bk_bool rather than using int for both of these.
This means that the function definition now specifies whether 0 means
no error, or whether it means false.
2020-08-17 16:55:29 -04:00
Bailey Thompson
eade6e4586 Bug bash (#105)
Valgrind previously did not fail the test suite when there were memory
leaks or invalid accesses. Due to this, a few bugs slipped in. These bugs
have been fixed, and now every container has more test cases.
Furthermore, the test suite has been updated to fail if Valgrind reports
any errors.
2020-08-16 19:17:59 -04:00
Bailey Thompson
33fe92dade Use GitHub actions as test suite (#91)
Use GitHub actions as a test suite. Can get rid of CircleCI,
and now Valgrind is part of the test suite.
2020-08-12 19:06:49 -04:00