scpt_getspecific
Last updated March 2020
Name
scpt_getspecific — Fetch previously associated pointer value
Synopsis
#include "modules/scriptlets/ec_scriptlet.h"
| void * **scpt_getspecific** (
| thr, | |
| | key)
; | |
Description
Fetch the pointer value set with scpt_setspecific.
- thr
-
The script thread. For a description of this data type see “scpt_thread”.
- key
-
The key associated with the script.
This function returns the previously set pointer value.
It is legal to call this function in any thread.
See Also
Was this page helpful?