hts_resize_array_

@hideinitializer Macro to expand a dynamic array, zeroing any newly-allocated memory

@param type_t The type of the array elements @paramin n Requested number of elements of type type_t @param[in,out] m Size of memory allocated @param[in,out] ptr Pointer to the array

@discussion Do not use this macro. Use hts_resize() instead as allows allocation failures to be handled more gracefully.

As for hts_expand(), except the bytes that make up the array elements between the old and new values of @p m are set to zero using memset().

@bug If the memory allocation fails, this will call exit(1). This is not ideal behaviour in a library.

@system nothrow @nogc extern (C)
int
hts_resize_array_
(
size_t
,
size_t
,
size_t
,
void*
,
void**
,
int
,
const(char)*
)

Meta