MCPcopy Create free account
hub / github.com/cpputest/cpputest / Next

Method Next

examples/ApplicationLib/CircularBuffer.cpp:80–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80int CircularBuffer::Next(int i)
81{
82 if (++i >= capacity) i = 0;
83 return i;
84}
85
86void CircularBuffer::Print(Printer* p)
87{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected