MCPcopy Create free account
hub / github.com/KaisenAmin/c_std / queue_front

Function queue_front

queue/queue.h:80–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80
81static inline void* queue_front(const Queue* q) {
82 if (!q || !q->vec || q->vec->size == q->frontIndex) {
83 return NULL;
84 }
85 return vector_at(q->vec, q->frontIndex);
86}
87
88

Callers

nothing calls this directly

Calls 1

vector_atFunction · 0.85

Tested by

no test coverage detected