gmp_lib.allocate Method

GMP Native Interface for .NET

gmp_liballocate Method
Return a pointer to newly allocated space with at least alloc_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 static void_ptr allocate(
	size_t alloc_size
)
Public Shared Function allocate ( 
	alloc_size As size_t
) As void_ptr
public:
static void_ptr allocate(
	size_t alloc_size
)
static member allocate : 
        alloc_size : size_t -> void_ptr 

Parameters

alloc_size
Type: Math.Gmp.Nativesize_t
The minimum number of bytes to allocate.

Return Value

Type: void_ptr
A pointer to newly allocated space with at least alloc_size bytes.
Remarks