S3D_CLEAR_CALLBACK(3)

✨ S3D_CLEAR_CALLBACK ✨

okay bestie, welcome to the s3d Manual πŸ’– this one is short and sweet and honestly it's giving "little function, big main character energy" πŸŽ€


🌸 NAME 🌸

s3d_clear_callback β€” clears a callback πŸ’…

no cap, that's the whole job. she clears. she goes home. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <s3d.h>

void s3d_clear_callback(uint8_t event);

like... look at her. one include, one prototype, zero drama. 🌈


πŸ’– DESCRIPTION πŸ’–

So here's the tea, bestie: s3d_clear_callback clears the callback which is associated with the event. 🧹✨

That's it. That's the function. You hand her an event, she un-associates the callback that was hanging out with that event, and now it's gone. poof. not me being emotional about a void return type 😭

lowkey the most satisfying kind of function: you ask for exactly one thing, you get exactly one thing done. 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Simon Wunderlich β€” Author of s3d 🌟

the literal icon who made all of this. we stan. πŸ’œ


heads up bestie: this page lives in the s3d manual section 3, and this version is from the s3d release. that's the source, that's the version, that's the vibe check βœ…

slay, go clear some callbacks, ily, bye πŸ’…πŸŽ€πŸ¦‹