Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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