yev_get_gbuf()

yev_get_gbuf()#

yev_get_gbuf() retrieves the gbuffer_t * associated with the given yev_event_h event.

Prototype

gbuffer_t *yev_get_gbuf(
    yev_event_h yev_event
);

Parameters

Key

Type

Description

yev_event

yev_event_h

The event handle from which to retrieve the associated gbuffer_t *.


Return Value

Returns a pointer to the gbuffer_t * associated with the event, or NULL if no buffer is set.

Notes

The returned gbuffer_t * is managed by the event system and should not be manually freed.

Prototype

// Not applicable in JS

Prototype

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