SDL_LINE(3)
π SDL_LINE π
okay bestie, welcome to the SDL_LINE page, part of the SDL3 functions manual (yes, that SDL, the Simple Directmedia Layer one π). This one's a little macro and it is genuinely so simple it's giving main character energy β¨
πΈ NAME πΈ
SDL_LINE β a macro that reports the current line number of the file being compiled. that's it. that's the whole job. and she does it flawlessly π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_assert.h>
#define SDL_LINE __LINE__
so you pull in the header, and the macro is literally just __LINE__ under the hood. no cap, that's the whole thing π
π¦ AVAILABILITY π¦
This macro is available since SDL 3.2.0. so if you're on something older, bestie, it's simply not gonna be there for you π upgrade era fr fr.
and that's the page!! go forth and know what line you're on, queen π
this cutie was brought to you by the Simple Directmedia Layer crew, SDL 3.4.18, filed under SDL3 FUNCTIONS in the manual β mwah, love u, bye π«Άπ
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms