al_android_get_os_version(3alleg5)

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

✨ NAME ✨

al_android_get_os_version β€” it's giving Allegro 5 API, bestie πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <allegro5/allegro_android.h>

const char *al_android_get_os_version(void)

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so. You call this little icon, and it hands you back a pointer to a static buffer β€” like, one buffer, shared, not yours to free, don't be weird about it β€” and inside that buffer is the version string of the Android platform that your Allegro program is currently running on. 🫢

That's it. That's the whole vibe. It's the "what Android am I on rn" function and it ate. ✨


🌸 SINCE 🌸

5.1.2 β€” lowkey vintage, highkey still iconic πŸ‘‘


al_android_get_os_version(3alleg5) β€” straight out of the Allegro reference manual, no cap. That's the tea, bestie, go forth and check your OS version responsibly πŸ’–πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from