aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sparse.c
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-12-29 17:51:03 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2021-03-06 23:00:02 +0100
commitc50f5272ea4275b3f79d2c71115f2be014ed11ee (patch)
tree4105d6082ab4d884d994500998cd38972e4f73a3 /sparse.c
parenta69f8d70d4979e482214d9604ab4223dc3a00ed6 (diff)
downloadsparse-dev-c50f5272ea4275b3f79d2c71115f2be014ed11ee.tar.gz
ptrlist: make linearize_ptr_list() generic
The ptrlist API has a function to copy the elements of a ptrlist into an array but it's not typed and thus needs a wrapper (or casts) for each type it's used for. Also, 'linearize' is confusing since this is unrelated to Sparse's linearization. Simplify this by adding a generic (but type-safe) macro for this with a more descriptive name: ptr_list_to_array() Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'sparse.c')
0 files changed, 0 insertions, 0 deletions