Releases: barrust/c-utils
Releases · barrust/c-utils
Version 0.2.5
Updates:
c-utils
- Add check and set function to return value of bit prior to setting
fileutils
- Add
fs_is_symlink()
function to check if a file or directory is actually a symlink
strlib
- Better memory check for
s_append_alt()
graph
- Cleaned-up a re-used variable name to ensure no confusion for the user
Version 0.2.4
New Libraries:
- permutations
Updates:
All Libraries
- cpp guards
- Ensure cast of
malloc
,calloc
, andrealloc
calls - Added Defensive freeing of memory
strlib
- Fix trim of string that only contains spaces
str_append_alt
- handle if s2 is not NULL while s1 is NULL
fileutils
- Combined filepath handles
NULL
input - Simplify input checks
minunit.h
- Fix output for
between
checks on failed assertion
Version 0.2.3
strlib
- Add input sanitation checks
bitarray
- remove unused
math.h
library header - minor optimizations for resetting the bitarray and calculating number of bits set
minunit
- Additional assert types
- Test suite using minunit to ensure minunit works as desired
Version 0.2.2
New Libraries:
- queue
- stack
- minunit.h
Other Changes
- Micro optimizations
Version 0.2.1
Graph:
- Traversal of the graph from a particular vertex
- Breadth First
- Depth First
- OpenMP support
StringLib:
- Micro optimizations for
s_trim
ands_standardize_whitespace
Version 0.2.0
- Added the following libraries:
- Graph
- Linked List
- Doubly Linked List
- Updates:
- added
dir_t
and supporting functionality tofileutils
- added
Version 0.1.0
Initial Release:
- stringlib
- fileutils
- filesystem functions
- file_t functions
- timing
- bitarray