Function

GioReallocFunc

Declaration

gpointer
(* GReallocFunc) (
  gpointer data,
  gsize size
)

Description

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 gpointer
 

Memory block to reallocate.

 The argument can be NULL.
size gsize
 

Size to reallocate data to.

Return value

Returns: gpointer
 

A pointer to the reallocated memory.