WFDCFG_FNPTR(FN, TYP)

Validate the type of a function pointer at compile time.

Synopsis:

#include <wfdqnx/wfdcfg.h>
 
WFDCFG_FNPTR(FN,TYP)

Arguments:

FN

A function pointer that you're validating

TYP

A function type that you're validating your function pointer against

Library:

libwfdcfg

Description:

This macro is used to validate that whether the specified function pointer (FN) is the same type as the specified function type (TYP).

Returns:

The function pointer FN, if it is compatible with the function type specified; 0 otherwise.