SDL_CLIPBOARDCLEANUPCALLBACK(3type)
β¨ SDL_ClipboardCleanupCallback β¨
okay so bestie, welcome to the SDL3 DATATYPES corner of the man pages π this one is a lil typedef from the SDL3 crew and it's literally just a callback. no cap.
πΈ NAME πΈ
SDL_ClipboardCleanupCallback β the callback function that gets called when the clipboard is cleared, or when new data is set. it's giving "cleanup crew but make it clipboard" π§Ήβ¨
π¦ SYNOPSIS π¦
#include <SDL3/SDL_clipboard.h>
typedef void (SDLCALL *SDL_ClipboardCleanupCallback)(void *userdata);
copy that exactly, bestie, every character matters π₯
π FUNCTION PARAMETERS π
userdataβ a pointer to the provided user data. yes, it's just your lil pointer. it gets passed right back to you, main character energy π«Ά
β AVAILABILITY β
this one is available since SDL 3.2.0. so if you're on something olderβ¦ not me finding out the hard way π
π SEE ALSO π
and that's the whole vibe, fr fr. stay iconic, keep your callbacks clean, and may your clipboard always be exactly what you expect π
this page came from the Simple Directmedia Layer girlies, SDL 3.4.18 edition, and it's the SDL_ClipboardCleanupCallback(3type) page β mwah, periodt π
π
π¦ 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