]> granicus.if.org Git - graphviz/commit
prune: return list by value from 'new_generic_list'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Nov 2022 16:12:07 +0000 (09:12 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 10 Nov 2022 04:47:29 +0000 (20:47 -0800)
commit4d1a1baef9a00d920d284a39b9fc60b8ec32e450
tree0c3c12fa7191a9240a13aa4eb8e7bc94277d6b38
parentc2565340ebf3c20acf425152f73a477daed61d30
prune: return list by value from 'new_generic_list'

The list type is exposed in the header, so we can stack allocate these, removing
some heap pressure and failure paths.
contrib/prune/generic_list.c
contrib/prune/generic_list.h
contrib/prune/prune.c