ReallocFunc


Description:

[ CCode ( has_target = false ) ]
public delegate void* ReallocFunc (void* data, size_t size)

Changes the size of the memory block pointed to by data to size bytes.

The function should have the same semantics as realloc.

Parameters:

data

memory block to reallocate

size

size to reallocate data to

Returns:

a pointer to the reallocated memory


Namespace: GLib
Package: gio-2.0



2022 vala-language.org