Function caerGenericEventCopy
Defined in File common.h
Function Documentation
-
static inline bool caerGenericEventCopy(void *eventPtrDestination, const void *eventPtrSource, caerEventPacketHeaderConst headerPtrDestination, caerEventPacketHeaderConst headerPtrSource)
Copy a given event’s content to another location in memory.
- Parameters:
eventPtrDestination – a generic pointer to an event to copy to. Cannot be NULL.
eventPtrSource – a generic pointer to an event to copy from. Cannot be NULL.
headerPtrDestination – a valid EventPacket header pointer from the destination packet. Cannot be NULL.
headerPtrSource – a valid EventPacket header pointer from the source packet. Cannot be NULL.
- Returns:
true on successful copy, false otherwise.