Function caerSpecialEventPacketFromPacketHeaderConst
Defined in File special.h
Function Documentation
-
static inline caerSpecialEventPacketConst caerSpecialEventPacketFromPacketHeaderConst(caerEventPacketHeaderConst header)
Transform a generic read-only event packet header into a read-only Special event packet. This takes care of proper casting and checks that the packet type really matches the intended conversion type.
- Parameters:
header – a valid read-only event packet header pointer. Cannot be NULL.
- Returns:
a properly converted, read-only typed event packet pointer.