summaryrefslogtreecommitdiff
path: root/src/shl_array.h
AgeCommit message (Collapse)AuthorFilesLines
2013-03-05shl: array: add shl_array_zresize()David Herrmann1-0/+27
This helper resizes the array to a given length and zeroes out all new elements. Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2012-11-19shl: array: use "const" for source argumentsDavid Herrmann1-1/+1
Use "const" even for void pointers as gcc will complain otherwise. Source arguments are read-only, anyway, so this doesn't break anything. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
2012-09-16shl: move kmscon_array_* to shl_array_*David Herrmann1-0/+152
This moves all array code into the SHL library and fixes all users. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>