bps_event_get_payload()

Get a pointer to an event's payload.

Synopsis:

#include <bps/event.h>
 
BPS_API bps_event_payload_t* bps_event_get_payload(bps_event_t *event)

Arguments:

event
The event to get the payload for.

Library:

libbps

Description:

The bps_event_get_payload() function gets a pointer to the payload of a bps_event_t event.

Returns:

A pointer to the event's payload.