Function caerEventPacketContainerAllocate

Function Documentation

static inline caerEventPacketContainer caerEventPacketContainerAllocate(int32_t eventPacketsNumber)

Allocate a new EventPacketContainer with enough space to store up to the given number of EventPacket pointers. All packet pointers will be NULL initially.

Parameters:

eventPacketsNumber – the maximum number of EventPacket pointers that can be stored in this container.

Returns:

a valid EventPacketContainer handle or NULL on error.