logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rest_callback - Like rest(), but calls the callback during the wait. Allegro game programming library.

Description

       Like rest(), but for non-zero values continually calls the specified function while it is waiting for the
       required  time  to  elapse.  If the provided `callback' parameter is NULL, this function does exactly the
       same thing as calling rest().

Name

       rest_callback - Like rest(), but calls the callback during the wait. Allegro game programming library.

See Also

install_timer(3alleg4), rest(3alleg4)

Allegro                                           version 4.4.3                           rest_callback(3alleg4)

Synopsis

#include<allegro.h>voidrest_callback(longtime,void(*callback)())

See Also