[This is preliminary documentation and is subject to change.]

Frees memory allocated with MPI_Alloc_mem(IntPtr, Int32, IntPtr%). This routine is used automatically by the UnmanagedMemoryStream to allocate memory when serializing or de-serializing objects within MPI.NET.

Namespace:  MPI
Assembly:  MPI (in MPI.dll)
Version: 0.9.0.0 (0.9.0.0)

Syntax

C#
public static int MPI_Free_mem(
	IntPtr ptr
)
Visual Basic (Declaration)
Public Shared Function MPI_Free_mem ( _
	ptr As IntPtr _
) As Integer
Visual C++
public:
static int MPI_Free_mem(
	IntPtr ptr
)

Parameters

ptr
Type: System..::.IntPtr
The pointer provided by MPI_Alloc_mem(IntPtr, Int32, IntPtr%).

See Also