WFDCFG_FNPTR()
Graphics and Screen4.0 (8.x)OpenWF Configuration Developer's GuideAPIProgramming
Validate the type of a function pointer at compile time
Synopsis:
#include <wfdqnx/wfdcfg.h>
void* WFDCFG_FNPTR(void *FN,
void *TYP)
Arguments:
- FN
- A function pointer that you're validating
- TYP
- A function type that you're validating your function pointer against
Library:
libwfdcfgDescription:
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.
Page updated: