aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2015-01-18sdsfromlonglong: Cast abs ternary statement to ullJohannes Löthberg1-1/+1
Fixes the warning about the ternary statement changing the signedness of value.
2015-01-17sds.c: All if statements should be bracedJohannes Löthberg1-5/+8
2015-01-17Reindent with tabs.Johannes Löthberg2-413/+411
All source code should be indented with tabs and aligned with spaces. When talking about line length a tab equals 4 spaces.
2015-01-17sds.c Replace all in-place calculations with sdsheaderJohannes Löthberg2-16/+16
2015-01-17sds.h: Add inline function for getting the sdshdrJohannes Löthberg1-0/+4
2015-01-17sds.h: Clean up sdshdr struct pointer arithmeticJohannes Löthberg1-2/+2
Remove the unnecessary casting of the pointer arithmetic result in sdslen and sdsavail to a void pointer since it will already be an sdshdr struct.
2015-01-17Revert "SDS Header pointer math rewritten in a more elegant form."Johannes Löthberg2-19/+19
This reverts commit c636fc6cd25e455a75dca24ac08ba736f62db6c8. This commit was just utterly senseless, all it does is make the code less clear for literally nothing.
2014-12-06test.c: Remove blanklines before returnJohannes Löthberg1-21/+0
2014-12-06twbctf: Save the print_width to a variableJohannes Löthberg1-3/+4
2014-12-05sds.h: Don’t use __ in front of include guardJohannes Löthberg1-2/+2
It’s reserved for the implementation and shouldn’t be used.
2014-12-05Replace testsuite with one based on twbctfJohannes Löthberg6-185/+307
2014-12-05Move source files to src dir, use VPATH in MakefileJohannes Löthberg3-0/+1065