al_drop_next_event(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ al_drop_next_event ✨

okay so bestie, we're in the allegro5 manual and today's main character is al_drop_next_event πŸ’…


🌸 NAME 🌸

al_drop_next_event β€” it's the Allegro 5 API, and it's here to yeet one (1) event out of your queue πŸ—‘οΈβœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro5/allegro.h>

bool al_drop_next_event(ALLEGRO_EVENT_QUEUE *queue)

πŸ’– DESCRIPTION πŸ’–

So like, this function drops the next event from the queue β€” literally removes it. Gone. Not it. πŸ™ˆ

And if the queue is empty? Nothing happens. No drama, no crash, it just vibes. 😌

It returns true if an event actually got dropped, and if not... well, you already know. πŸŽ€


πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole page fr fr 🫢 this was the Allegro reference manual doing its thing β€” al_drop_next_event(3alleg5), slay, periodt πŸ’œβ­

πŸ“¦ where this page comes from