pub type GReallocFunc = Option<unsafe extern "C" fn(data: gpointer, size: gsize) -> gpointer>;
Expand description
GReallocFunc: @data: memory block to reallocate @size: size to reallocate @data to
Changes the size of the memory block pointed to by @data to @size bytes.
The function should have the same semantics as realloc().
Returns: a pointer to the reallocated memory
Aliased Type§
enum GReallocFunc {
None,
Some(unsafe extern "C" fn(*mut c_void, u32) -> *mut c_void),
}