Click or drag to resize
reallocate_function Delegate
Resize a previously allocated block ptr of old_size bytes to be new_size bytes.

Namespace:  Math.Gmp.Native
Assembly:  Math.Gmp.Native (in Math.Gmp.Native.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public delegate void_ptr reallocate_function(
	void_ptr ptr,
	size_t old_size,
	size_t new_size
)

Parameters

ptr
Type: Math.Gmp.Nativevoid_ptr
Pointer to previously allocated block.
old_size
Type: Math.Gmp.Nativesize_t
Number of bytes of previously allocated block.
new_size
Type: Math.Gmp.Nativesize_t
New number of bytes of previously allocated block.

Return Value

Type: void_ptr
A previously allocated block ptr of old_size bytes to be new_size bytes.
See Also