Function name from function pointer

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Apr 11 12:19:49 PDT 2015


Paul D Anderson:

> Is there a way to return the name of a function (a string) from 
> a pointer to that function?

Perhaps creating a string[void*] AA and initializing with all the 
function pointers you care about.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list