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

Method countCmdQueue

src/SimpleCLI.cpp:146–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146int SimpleCLI::countCmdQueue() const {
147 cmd* h = cmdQueue;
148 int i = 0;
149
150 while (h) {
151 h = h->next;
152 ++i;
153 }
154
155 return i;
156}
157
158int SimpleCLI::countErrorQueue() const {
159 cmd_error* h = errorQueue;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected