shutdown_menu(3alleg4)

okay bestie, this is the shutdown_menu page from the Allegro manual, section 3alleg4 πŸ’– no cap, it's short, it's useful, and it's giving "clean up your menu player" energy. ✨


✨ NAME ✨

shutdown_menu β€” destroys a menu player object returned by init_menu(). Allegro game programming library. πŸ¦‹

🌸 SYNOPSIS 🌸

#include <allegro.h>

int shutdown_menu(MENU_PLAYER *player);

πŸ’… DESCRIPTION πŸ’…

okay so shutdown_menu() destroys a menu player object returned by init_menu(). it returns the index of the menu item that was selected, or -1 if the menu was cancelled. and bestie, that is the same as the return value from do_menu(). periodt. πŸ”₯

🫢 SEE ALSO 🫢


cute sign-off: this page is from the Allegro manual, version 4.4.3. mwah πŸ’‹ the original footer had no date, so we're not inventing one, bestie πŸŽ€