UTIL_FunctionToName
![English (en) English (en)](/w/images/thumb/3/37/Flag-en.png/16px-Flag-en.png)
![Icon-translate.png](/w/images/thumb/b/b1/Icon-translate.png/12px-Icon-translate.png)
... ![Icon-Important.png](/w/images/thumb/5/5c/Icon-Important.png/10px-Icon-Important.png)
![Icon-Important.png](/w/images/thumb/5/5c/Icon-Important.png/10px-Icon-Important.png)
UTIL_FunctionToName
is a UTIL function that searches for the function name of a matching function pointer, as a C-string, from a data map.
![Blank image.png](/w/images/b/ba/Blank_image.png)
Function Declaration
//-----------------------------------------------------------------------------
// Purpose: Search this datamap for the name of this member function
// This is used to save/restore function pointers (convert pointer to text)
// Input : *function - pointer to member function
// Output : const char * - function name
//-----------------------------------------------------------------------------
extern const char *UTIL_FunctionToName( datamap_t *pMap, inputfunc_t *function );