Function caerSpecialEventPacketGetEvent

Function Documentation

static inline caerSpecialEvent caerSpecialEventPacketGetEvent(caerSpecialEventPacket packet, int32_t n)

Get the special event at the given index from the event packet.

Parameters:
  • packet – a valid SpecialEventPacket pointer. Cannot be NULL.

  • n – the index of the returned event. Must be within [0,eventCapacity[ bounds.

Returns:

the requested special event. NULL on error.