install_param_int(3alleg4) | Allegro manual | install_param_int(3alleg4) |
install_param_int - Installs a timer routine with a customizable parameter. Allegro game programming library.
#include <allegro.h>
int install_param_int(void (*proc)(void *), void *param, int speed);
Like install_int(), 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_ex(3alleg4), install_int(3alleg4)
version 4.4.2 | Allegro |