Click or drag to resize
gmp_libfree Method (void_ptr, size_t)
De-allocate the space pointed to by ptr.

Namespace:  Math.Gmp.Native
Assembly:  Math.Gmp.Native (in Math.Gmp.Native.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void free(
	void_ptr ptr,
	size_t size
)

Parameters

ptr
Type: Math.Gmp.Nativevoid_ptr
Pointer to previously allocated block.
size
Type: Math.Gmp.Nativesize_t
Number of bytes of previously allocated block.
Remarks

The free function parameter size is passed for convenience, but of course it can be ignored if not needed by an implementation. The default functions using malloc and friends for instance don’t use it.

See Also