=proto void *duk_realloc(duk_context *ctx, void *ptr, size_t size); =summary
Like duk_realloc_raw()
but may
trigger a garbage collection to satisfy the request. However, the
allocated memory itself is not automatically garbage collected.
Memory reallocated with duk_realloc()
can be freed with either
duk_free()
or
duk_free_raw()
.