DOKK / manpages / debian 11 / allegro4-doc / remove_display_switch_callback.3alleg4.en
remove_display_switch_callback(3alleg4) Allegro manual remove_display_switch_callback(3alleg4)

remove_display_switch_callback - Removes a switching notification callback. Allegro game programming library.

#include <allegro.h>

void remove_display_switch_callback(void (*cb)());

Removes a notification callback that was previously installed by calling set_display_switch_callback(). All the callbacks will automatically be removed when you call set_display_switch_mode(). You can safely call this function even if the callback you want to remove is not installed.

set_display_switch_callback(3alleg4)

version 4.4.3 Allegro