MCPcopy Create free account
hub / github.com/SpacehuhnTech/SimpleCLI / countErrorQueue

Method countErrorQueue

src/SimpleCLI.cpp:158–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158int SimpleCLI::countErrorQueue() const {
159 cmd_error* h = errorQueue;
160 int i = 0;
161
162 while (h) {
163 h = h->next;
164 ++i;
165 }
166
167 return i;
168}
169
170Command SimpleCLI::getCmd() {
171 if (!cmdQueue) return Command();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected