TSdlCAllocFunc
A callback used to implement SdlCAlloc.
SDL will always ensure that the passed ANumElements and AElementSize are both greater than 0.
Definition
Unit: Neslib.Sdl3.Additional
Parameters
ANumElements: NativeInt
: The number of elements in the array.
AElementSize: NativeInt
: The size of each element of the array.
Returns
Pointer: A pointer to the allocated array, or nil if allocation failed.
See Also
Remarks
It should be safe to call this callback from any thread.