Delegate used to allocate data by OpenCV

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)

Syntax

C#
public delegate IntPtr CvAllocFunc(
	uint size,
	IntPtr userData
)
Visual Basic (Declaration)
Public Delegate Function CvAllocFunc ( _
	size As UInteger, _
	userData As IntPtr _
) As IntPtr
Visual C++
public delegate IntPtr CvAllocFunc(
	unsigned int size, 
	IntPtr userData
)

Parameters

size
Type: System..::.UInt32
Size of the memory to allocate
userData
Type: System..::.IntPtr
User data that is transparetly passed to the custom functions

Return Value

Pointer to the allocated memort

See Also