Scroll to navigation

install_param_int(3alleg4) Allegro manual install_param_int(3alleg4)

NAME

install_param_int - Installs a timer routine with a customizable parameter. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

int install_param_int(void (*proc)(void *), void *param, int speed);

DESCRIPTION

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().

SEE ALSO

install_timer(3alleg4), remove_param_int(3alleg4), install_param_int_ex(3alleg4), install_int(3alleg4)

version 4.4.3 Allegro