function execute_me() { error("lol"); } function get_param_and_execute(void *pFunc) { function typedef_func(); typedef_func = pFunc; typedef_func(); } ... get_param_and_execute(execute_me);
function execute_me(STRING *strMsg) { error(strMsg); } function get_param_and_execute(void *pFunc, STRING *strMsg) { function typedef_func(STRING*); typedef_func = pFunc; typedef_func(strMsg); } ... get_param_and_execute(execute_me, "works!");
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de