Function
GLibtry_realloc
Description
Attempts to realloc mem
to a new size, n_bytes
, and returns NULL
on failure. Contrast with g_realloc(), which aborts the program
on failure.
If mem
is NULL
, behaves the same as g_try_malloc().
Attempts to realloc mem
to a new size, n_bytes
, and returns NULL
on failure. Contrast with g_realloc(), which aborts the program
on failure.
If mem
is NULL
, behaves the same as g_try_malloc().