Function Macro
GLibrenew
since: 2.0
Declaration [src]
#define g_renew (
struct_type,
mem,
n_structs
)
Description [src]
Reallocates the memory pointed to by mem
, so that it now has space for
n_structs
elements of type struct_type
. It returns the new address of
the memory, which may have been moved.
Care is taken to avoid overflow when calculating the size of the allocated block.
Available since: 2.0
This function is not directly available to language bindings.