brlapi_clientData(3)

✨ brlapi_clientData β€” setting and getting client data ✨

okay bestie, welcome to the brlapi_clientData(3) page from the BrlAPI library πŸ’– this one is short and sweet and it's literally just about stashing a pointer so you can grab it back later. no cap.


🌸 SYNOPSIS 🌸

the functions, fr fr

void BRLAPI_STDCALL brlapi_setClientData (void *data)
void BRLAPI_STDCALL brlapi__setClientData (brlapi_handle_t *handle, void *data)
void *BRLAPI_STDCALL brlapi_getClientData (void)
void *BRLAPI_STDCALL brlapi__getClientData (brlapi_handle_t *handle)

πŸ¦‹ Detailed Description πŸ¦‹

so here's the tea πŸ«– clients can register a pointer to data β€” like, any data you want β€” and then that pointer can be used later, for example in exception handlers. that's it. that's the whole vibe. it's giving "personal locker at the library" energy πŸ”₯


πŸ’… Function Documentation πŸ’…

void *BRLAPI_STDCALL brlapi__getClientData (brlapi_handle_t * handle)

the handle-flavoured version of the getter. that's the whole description on this one, bestie.

References BRLAPI_STDCALL.


void BRLAPI_STDCALL brlapi__setClientData (brlapi_handle_t * handle, void * data)

the handle-flavoured version of the setter. same deal, no extra notes.

References BRLAPI_STDCALL.


void *BRLAPI_STDCALL brlapi_getClientData (void )

Retrieves the pointer to the private client data πŸ‘‘

Returns

  • the pointer to the private client data

References BRLAPI_STDCALL.


void BRLAPI_STDCALL brlapi_setClientData (void * data)

Register a pointer to client data ✨

Parameters

  • data β€” The pointer to the private client data

References BRLAPI_STDCALL.


πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for BrlAPI from the source code. (not a human, not a bestie, just a robot doing its thing πŸ™ˆ)


lowkey the whole page is just: set a pointer, get a pointer, and the __-prefixed twins do the same thing but take a brlapi_handle_t *handle 🫢 iconic behaviour, honestly.

and that's the whole page, bestie β€” go forth and store your pointer πŸ’–

BrlAPI Β· Version 0.8 Β· brlapi_clientData(3) β€” mwah, tysm for reading, slay πŸ’…βœ¨

πŸ“¦ where this page comes from