Stop the stream iterator. The only cleanup we need is to free the rax * iterator, since the stream iterator itself is supposed to be stack * allocated. */
| 1312 | * iterator, since the stream iterator itself is supposed to be stack |
| 1313 | * allocated. */ |
| 1314 | void streamIteratorStop(streamIterator *si) { |
| 1315 | raxStop(&si->ri); |
| 1316 | } |
| 1317 | |
| 1318 | /* Delete the specified item ID from the stream, returning 1 if the item |
| 1319 | * was deleted 0 otherwise (if it does not exist). */ |
no test coverage detected