QueueArray.dropStruct

Drops the queue element at position @idx from queue @array and copies the data of the element or structure that was removed into @p_struct if @p_struct is set (not NULL).

class QueueArray
bool
dropStruct
(
uint idx
,
void* pStruct
)

Parameters

idx uint

index to drop

pStruct void*

address into which to store the data of the dropped structure, or NULL

Return Value

Type: bool

TRUE on success, or FALSE on error

Meta