al_is_bitmap_locked(3alleg5)

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

πŸ’… al_is_bitmap_locked β€” the Allegro 5 API

okay so bestie, welcome to the al_is_bitmap_locked page of the allegro5 manual (section 3, the library-calls girlies πŸŽ€). it's short, it's sweet, it's giving "one job and she does it" energy. let's go ✨


✨ NAME ✨

al_is_bitmap_locked β€” Allegro 5 API πŸ¦‹


🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

bool al_is_bitmap_locked(ALLEGRO_BITMAP *bitmap)

like yes, that's the whole thing. include the header, call the function, get a bool back. iconic behavior fr fr πŸ’…


πŸ’– DESCRIPTION πŸ’–

so what does she do?? she tells you whether or not a bitmap is already locked. that's it. that's the vibe check πŸ‘‘

you hand her an ALLEGRO_BITMAP *bitmap, she hands you back the truth β€” is it locked, or is it not. no cap, no drama, no side quests. just answers 🫢

ngl the "already" is doing a lot of work there β€” she's checking the current state of that bitmap, not locking anything for you. if you were hoping she'd lock it, she will not. that's a different girl (see below πŸ’€).

πŸ‘€ SEE ALSO πŸ‘€

go read those too, they're the ones actually doing the locking and unlocking. this page is just the check-in text, the "u up?" of the bitmap world 😭


and that's the whole page, bestie!! this was the Allegro reference manual's take on al_is_bitmap_locked(3alleg5), served up fresh from section 3. mwah πŸ’‹ stay locked (or don't, honestly, please unlock your bitmaps) πŸŒˆβ­πŸ’œ

πŸ“¦ where this page comes from