yev_get_user_data()#
yev_get_user_data() retrieves the user-defined data associated with a given event handle.
Prototype
void *yev_get_user_data(
yev_event_h yev_event
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
|
The event handle from which to retrieve the user data. |
Return Value
Returns a pointer to the user-defined data associated with the event, or NULL if no data is set.
Notes
The user data can be set using yev_set_user_data().
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples