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

   
Target Platform Windows
Header fdi.h

See also

FNFree