Angus Salkeld
|
24107d56ef
|
COV 8: don't leak mem when returning an error.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
|
2011-05-20 21:31:29 +10:00 |
|
Angus Salkeld
|
4de5ff927f
|
ARRAY: add getter's to retrieve number of bins and elms/bin
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
|
2011-04-14 09:55:57 +10:00 |
|
Angus Salkeld
|
0d345d3ef1
|
ARRAY: return -ERANGE when index is out of range.
So you can differentiate the other errors (-EINVAL)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
|
2011-04-13 11:23:00 +10:00 |
|
Angus Salkeld
|
7b2a0d3767
|
TEST: add some more array tests.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
|
2010-10-19 21:16:47 +11:00 |
|
Angus Salkeld
|
9745d4feb7
|
Add a resizable array that doesn't move memory.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
|
2010-10-19 07:05:54 +11:00 |
|