Allow dereferenced pointers as input for GNUNET_array_grow and GNUNET_xgrow
authorlurchi <lurchi@strangeplace.net>
Thu, 28 Jun 2018 22:04:25 +0000 (00:04 +0200)
committerlurchi <lurchi@strangeplace.net>
Thu, 28 Jun 2018 22:04:25 +0000 (00:04 +0200)
commit7c04b23c8c80e06257706facf74a92bfec7a9914
treeeb684e84ae52badb88d1235038c5a37818075e0a
parent2bd272b4e4f779ca0a1dd4b52bb710be5c68a7bd
Allow dereferenced pointers as input for GNUNET_array_grow and GNUNET_xgrow

This is now possible:
char ***server_addrs = NULL
unsigned int len = 0
GNUNET_array_append (*server_addrs, len, "8.8.8.8");
src/include/gnunet_common.h