MCPcopy Create free account
hub / github.com/antirez/ds4 / raxStop

Function raxStop

rax.c:2594–2597  ·  view source on GitHub ↗

Free the iterator. */

Source from the content-addressed store, hash-verified

2592
2593/* Free the iterator. */
2594void raxStop(raxIterator *it) {
2595 if (it->key != it->key_static_string) rax_free(it->key);
2596 raxStackFree(&it->stack);
2597}
2598
2599/* Return if the iterator is in an EOF state. This happens when raxSeek()
2600 * failed to seek an appropriate element, so that raxNext() or raxPrev()

Callers

nothing calls this directly

Calls 1

raxStackFreeFunction · 0.85

Tested by

no test coverage detected