summaryrefslogtreecommitdiffstats
path: root/test/ring_test.c
AgeCommit message (Collapse)AuthorFilesLines
2021-09-14Make ZixAllocator a single flat structDavid Robillard1-6/+5
I can never decide between these two patterns for polymorphic objects in C, but this one seems more appropriate here since it's more conducive to inheritance.
2021-09-10Fix function attribute warningsDavid Robillard1-0/+1
2021-09-10Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2021-09-10Use assert in Ring testDavid Robillard1-91/+26
2021-09-10Test failed Ring allocationDavid Robillard1-18/+51
2021-09-10Add custom allocator supportDavid Robillard1-1/+1
2021-09-10Add nullability annotationsDavid Robillard1-0/+3
This allows clang to issue warnings at compile time when null is passed to a non-null parameter. For public entry points, also add assertions to catch such issues when the compiler does not support this.
2021-09-10Move attribute definitions to a separate headerDavid Robillard1-1/+1
2021-09-10Be explicit about the sign of defined integer constantsDavid Robillard1-5/+5
2021-07-17Avoid use of atoi() and atol()David Robillard1-2/+2
2021-01-16Allow all free functions to be called on nullDavid Robillard1-0/+2
2020-12-31Update copyright headersDavid Robillard1-1/+1
2020-12-31Initialize all variablesDavid Robillard1-4/+4
2020-12-31Format all code with clang-formatDavid Robillard1-170/+172
2020-08-13Clean up includes and forward declarationsDavid Robillard1-0/+1
2020-08-13Fix incorrect format specifiersDavid Robillard1-6/+6
2020-08-13Add format attributesDavid Robillard1-0/+2
2020-08-13Fix unused parameter warningsDavid Robillard1-2/+2
2019-10-18Fix unused parameter warningsDavid Robillard1-4/+4
2019-01-06Clean up includesDavid Robillard1-4/+4
2018-11-17Fix missing variable declaration warningsDavid Robillard1-3/+3
2018-11-14Fix potential memory leaks in testDavid Robillard1-0/+3
2012-02-01Use failure() for all errors.David Robillard1-6/+3
git-svn-id: http://svn.drobilla.net/zix/trunk@62 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
2012-02-01Fix types.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/zix/trunk@59 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
2012-02-01Windows portability fixes.David Robillard1-9/+8
git-svn-id: http://svn.drobilla.net/zix/trunk@58 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
2012-01-31Add thread abstraction.David Robillard1-7/+7
git-svn-id: http://svn.drobilla.net/zix/trunk@53 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
2012-01-31Full test coverage for ZixRing.David Robillard1-5/+91
Update waf. git-svn-id: http://svn.drobilla.net/zix/trunk@50 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
2011-10-09Fix ZixRing error when reading split/wrapped messages.David Robillard1-1/+1
Use a non-power-of-two message size in ZixRing test to test this. git-svn-id: http://svn.drobilla.net/zix/trunk@43 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
2011-09-19Free ring before exit (cover zix_ring_free)David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/zix/trunk@20 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
2011-09-18Add ZixRing.David Robillard1-0/+145
git-svn-id: http://svn.drobilla.net/zix/trunk@13 df6676b4-ccc9-40e5-b5d6-7c4628a128e3