util/ralloc: Add helpers for growing zero-initialized memory
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 9 May 2019 23:52:44 +0000 (18:52 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Tue, 14 May 2019 17:30:22 +0000 (12:30 -0500)
commit6c0f75c953e6640838d818b8f3603a56b0483f5d
tree2aff0d4c8ed0596eb00e4e07654751a64fe97dbb
parent621232694176ea83752505643b106c8d1c719893
util/ralloc: Add helpers for growing zero-initialized memory

Unfortunately, we can't quite follow the standard C conventions for
these because ralloc doesn't know the sizes of pointers.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/util/ralloc.c
src/util/ralloc.h