Function caerEventPacketHeaderSetEventCapacity(caerEventPacketHeader, int32_t)
Defined in File common.h
Function Documentation
-
static inline void caerEventPacketHeaderSetEventCapacity(caerEventPacketHeader header, int32_t eventsCapacity)
Set the maximum number of events this packet can store. This is determined at packet allocation time and should not be changed during the life-time of the packet.
- Parameters:
header – a valid EventPacket header pointer. Cannot be NULL.
eventsCapacity – the number of events this packet can hold.