install_param_int_ex(3alleg4) | Allegro manual | install_param_int_ex(3alleg4) |
install_param_int_ex - Adds or modifies a timer with a customizable parameter. Allegro game programming library.
#include <allegro.h>
int install_param_int_ex(void (*proc)(void *), void *param, int speed);
Like install_int_ex(), but the callback routine will be passed a copy of the specified void pointer parameter. To disable the handler, use remove_param_int() instead of remove_int().
install_timer(3alleg4), remove_param_int(3alleg4), install_param_int(3alleg4), install_int_ex(3alleg4)
version 4.4.2 | Allegro |