| 5 | #include "Queue.h" |
| 6 | |
| 7 | void Queue_Init(struct Queue* queue, cc_uint32 structSize) { |
| 8 | queue->entries = NULL; |
| 9 | queue->structSize = structSize; |
| 10 | queue->capacity = 0; |
| 11 | queue->mask = 0; |
| 12 | queue->count = 0; |
| 13 | queue->head = 0; |
| 14 | queue->tail = 0; |
| 15 | } |
| 16 | |
| 17 | void Queue_Clear(struct Queue* queue) { |
| 18 | if (!queue->entries) return; |
no outgoing calls
no test coverage detected