SDL_ELF_NOTE...RITY_REQUIRED(3)

πŸ“¦
version 3.4.18 Β· 5 versions
, in fedora 43, fedora 44

πŸ’– SDL_ELF_NOTE_DLOPEN_PRIORITY_REQUIRED πŸ’–

okay bestie, welcome to the SDL3 FUNCTIONS section of the manual, and today's main character is a macro with a very long name. like, she ate with that name length, honestly. πŸ‘‘

✨ NAME ✨

SDL_ELF_NOTE_DLOPEN_PRIORITY_REQUIRED β€” the macro you use with SDL_ELF_NOTE_DLOPEN() when you need to be like "bestie, this dynamic shared library dependency is REQUIRED, no cap."

✨ SYNOPSIS ✨

#include <SDL3/SDL_dlopennote.h>

#define SDL_ELF_NOTE_DLOPEN_PRIORITY_REQUIRED    "required"

like, that's it. that's the whole thing. she's a define, she's one string, she's iconic. πŸŽ€

✨ DESCRIPTION ✨

So here's the vibe check: core functionality needs the dependency. The binary will not work if it cannot be found. periodt. πŸ’€

That's literally the whole story. If your lib can't be located, your program is not giving main character energy, it's just giving nothing, because it will not run. no dependency, no binary. 🫢

✨ AVAILABILITY ✨

This macro has been serving looks since SDL 3.4.0. ✨

✨ SEE ALSO ✨

like, go read the siblings too, they're all part of the same little priority friend group 🌈


Simple Directmedia Layer β€” SDL 3.4.18, bestie. that's the source and the version, mwah. πŸ’…πŸŒΈ go forth and note your dlopen priorities correctly, ily, bye! πŸ¦‹

πŸ“¦ where this page comes from