FNALLOC macro (fdi.h)
The FNALLOC provides the declaration for the application-defined callback function to allocate memory in an FDI context.
Syntax
void FNALLOC(
fn
);
Parameters
fn
The number of bytes to allocate.
Return value
None
Remarks
The function accepts parameters similar to malloc.
Examples
FNALLOC(fnMemAlloc)
{
return malloc(cb);
}
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | fdi.h |