SDL_PLATFORM_3DS(3)
π SDL_PLATFORM_3DS π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, and today's main character is SDL_PLATFORM_3DS(3) β¨
πΈ NAME πΈ
SDL_PLATFORM_3DS β a preprocessor macro that is only defined if you're compiling for Nintendo 3DS. that's it. that's the whole vibe. π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_platform_defines.h>
#define SDL_PLATFORM_3DS 1
like. it's giving "you either have it or you don't" π
π¦ AVAILABILITY π¦
this macro has been available since SDL 3.2.0. so if you're on anything older, no 3DS macro for you, sorry babe π
lowkey important: this is a compile-time vibe check, not a runtime one. if you're not building for the 3DS, this macro simply does not exist. don't come for her. π
Simple Directmedia Layer Β· SDL 3.4.18 Β· SDL_PLATFORM_3DS(3) β mwah, hope this helped, go slay your 3DS build bestie ππ¦πβ¨
π¦ 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