Friday, 18 November 2022

How to make a function pointer for a Static function with parameters

As in the title you should know my problem I’m trying to make a function pointer for a static function. I know static functions don’t have a instances so I’ll show what I did void (*premium)(bool a1); so boom a static function with a bool parameter but when I try to compile I get a error saying undeclared identifier when I try to call it. So if anyone can assist me it would be great.

from iOSGods RSS Feed https://ift.tt/Es2p1Xy

No comments:

Post a Comment