You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Julien edited this page Mar 17, 2020
·
2 revisions
Introduction
Sometimes you want to associate some information with a twirc state, so that you can later refer to it again in your callback functions. This can be achieved with the twirc_set_context() and twirc_get_context() functions.
twirc_set_context()
This functions allows you to store a pointer in the twirc state and retrieve it later. Its signature is as follows: