summaryrefslogtreecommitdiff
path: root/src/lib/array.h
AgeCommit message (Expand)AuthorLines
2021-06-14lib: Add array_foreach_reverse[_modifiable]()Timo Sirainen-1/+18
2021-05-07lib: Add array_idx_elem()Timo Sirainen-0/+10
2021-05-07lib: Remove array_swap()Timo Sirainen-19/+0
2021-05-07lib: array.h - Update array_foreach*() commentsTimo Sirainen-6/+17
2021-05-07lib: array.h - Require C99Timo Sirainen-15/+3
2021-05-07lib: array_foreach_elem() - Don't allow using it for sizes larger than a pointerTimo Sirainen-1/+1
2021-05-07lib: array_foreach_elem() - Small optimizationTimo Sirainen-6/+7
2021-01-15lib: array - Make sure it assert-crashes if trying to add more than UINT_MAX ...Timo Sirainen-1/+3
2020-11-09lib: Add and use TYPE_CHECKS() macro to standardize type checking for functionsTimo Sirainen-42/+42
2020-10-22global: Use SIZE_MAX instead of (size_t)-1Aki Tuomi-1/+1
2019-05-13global: Change CALLBACK_TYPECHECK() to used with subtractionTimo Sirainen-7/+7
2019-01-15global: Rename array_first and array_last to array_front and backAki Tuomi-4/+4
2019-01-10lib: array - Add helpers for dealing with some common array usecasesAki Tuomi-0/+10
2019-01-10lib: array - Fix asserts to work correctly on 32-bit systemsAki Tuomi-1/+1
2018-08-30lib/array - give arrays the non-freeing deinit that strings and buffers havePhil Carmody-0/+8
2017-12-15lib: array_idx_modifiable changed not to allocate space.Sergey Kitov-2/+6
2017-12-15lib: array_idx_get_space is defined as alias to array_idx_modifiableSergey Kitov-0/+2
2017-11-01global: Fix spelling mistakes in commentsAki Tuomi-2/+2
2016-04-19lib: array - new copy-making array iteratorPhil Carmody-0/+15
2015-06-15lib: array - permit array_swap with uninitialised arraysPhil Carmody-2/+5
2015-02-02lib: array - two helpers to avoid wasteful array_countPhil Carmody-0/+5
2015-01-24lib: array - helper to swap array buffer ownershipPhil Carmody-0/+16
2015-01-05lib: array - explain implications of ARRAY_TYPE() in commentPhil Carmody-3/+11
2015-01-05lib: array - new linear search helperPhil Carmody-0/+20
2014-11-28lib: array - array_foreach_idx is just a generic ptr_to_idx helperPhil Carmody-1/+3
2014-11-28lib: test-array - remove possibility to optimise out testsPhil Carmody-0/+1
2014-11-25lib: array - additional compile-time checks to array_appendPhil Carmody-1/+2
2014-11-25lib: array - element-wise comparison via callbackPhil Carmody-0/+34
2014-11-15lib: array/hash - enable typof checks for more compilersPhil Carmody-2/+2
2014-11-15lib: array/hash - protect macro parametersPhil Carmody-2/+2
2012-08-19Removed CONTEXT_TYPE_SAFETY macro and reimplemented its functionality better.Timo Sirainen-19/+8
2012-08-19Array API changed: ARRAY_DEFINE(name, type) -> ARRAY(type) nameTimo Sirainen-1/+1
2012-06-25Added array_append_zero() to write a zero-filled record to an array.Timo Sirainen-0/+2
2012-04-28Code cleanup: Use array_count_i() to calculate array's size internally.Timo Sirainen-10/+10
2009-12-02Added array_foreach_idx()Timo Sirainen-0/+3
2009-11-13array_bsearch(): Cast return value to proper type.Timo Sirainen-0/+1
2009-11-05array_foreach_modifiable() was broken in non-C99 compilers.Timo Sirainen-2/+1
2009-10-27array.h: Compile fix for non-C99 compilers.Timo Sirainen-1/+1
2009-10-08Added array_foreach() and array_foreach_modifiable().Timo Sirainen-0/+25
2009-07-10Added type safe array_bsearch().Timo Sirainen-0/+13
2009-06-17Added array_sort() for type-safe array sorting.Timo Sirainen-0/+12
2009-01-10Added array_get_pool().Timo Sirainen-0/+8
2008-09-01array_copy() was broken if source array was different from destination array.Timo Sirainen-1/+1
2008-06-20Added more consts, ATTR_CONSTs and ATTR_PUREs.Timo Sirainen-4/+5
2008-06-13Added array_reverse().Timo Sirainen-0/+4
2008-06-13Uninlined some of the more complex array functions.Timo Sirainen-63/+5
2007-12-29Added queue implementation.Timo Sirainen-0/+11
2007-09-16Renamed _array_*() to array_*_i()Timo Sirainen-45/+46
2007-09-16Changed buffer_free() and buffer_free_without_data() APIs to take ** pointerTimo Sirainen-2/+1
2007-09-16Changed .h ifdef/defines to use <NAME>_H format.Timo Sirainen-2/+2