Delegate for user-specified memory allocation.
Namespace:
HDF5DotNet
Assembly:
HDF5DotNet (in HDF5DotNet.dll)
Syntax
Visual Basic |
---|
Public Delegate Function H5AllocCallback ( _
size As IntPtr, _
alloc_info As IntPtr _
) As IntPtr |
C# |
---|
public delegate IntPtr H5AllocCallback(
IntPtr size,
IntPtr alloc_info
) |
Visual C++ |
---|
public delegate IntPtr H5AllocCallback(
IntPtr size,
IntPtr alloc_info
) |
JavaScript |
---|
function(size, alloc_info); |
Parameters
- size
- Type: IntPtr
Number of bytes requested.
- alloc_info
- Type: IntPtr
Void pointer to memory containing addional user-specified information.
Note that all void* must point to memory that is pinned or
otherwise immune from relocation by the garbage collector.
See Also