yev_get_callback()

yev_get_callback()#

yev_get_callback() retrieves the callback function associated with a given event.

Prototype

yev_callback_t yev_get_callback(
    yev_event_h yev_event
);

Parameters

Key

Type

Description

yev_event

yev_event_h

The event handle from which to retrieve the callback function.


Return Value

Returns the callback function associated with the given yev_event_h event.

Notes

If no callback function is set for the event, the function may return NULL.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples