END_OF_FUNCTION(3alleg4)
π NAME π
END_OF_FUNCTION β bestie, this one locks the code used by a timer. It's from the Allegro manual, section 3alleg4, and it's part of the Allegro game programming library. π
β¨ SYNOPSIS β¨
#include <allegro.h>
Macro END_OF_FUNCTION(function_name);
Yes queen, it's a macro. A whole macro. With one argument. We love a low-maintenance icon. π
πΈ DESCRIPTION πΈ
okay so, plot twist: interrupts exist π and because of them, you are required to lock all the code that your timer routines use. Like, all of it. No skipping. The timer doesn't care about your vibes, it just wants the code to stay put. π
See the description of install_int_ex() for a more detailed explanation and usage example. That's where the lore lives, bestie β go read it. πβ¨
π«Ά reminder:END_OF_FUNCTIONis literally the closing brace energy of the locking thing. If you're not sure what you're locking or why,install_int_ex()is your girl. Go. πββοΈπ¨
π¦ SEE ALSO π¦
install_int(3alleg4)install_int_ex(3alleg4)exkeys(3alleg4)exscn3d(3alleg4)exsprite(3alleg4)exswitch(3alleg4)extimer(3alleg4)exupdate(3alleg4)exzbuf(3alleg4)
and that's the whole page, periodt. π β¨
Allegro, version 4.4.3 β mwah, iconic, no notes. πππ
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms