reallocate_function Delegate

GMP Native Interface for .NET

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
)
Public Delegate Function reallocate_function ( 
	ptr As void_ptr,
	old_size As size_t,
	new_size As size_t
) As void_ptr
public delegate void_ptr reallocate_function(
	void_ptr ptr, 
	size_t old_size, 
	size_t new_size
)
type reallocate_function = 
    delegate of 
        ptr : void_ptr * 
        old_size : size_t * 
        new_size : size_t -> void_ptr

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