Elektra
0.9.1
|
Implementation of proposed API enhancements. More...
Functions | |
Key * | elektraKsPopAtCursor (KeySet *ks, cursor_t pos) |
Pop key at given cursor position. More... | |
Implementation of proposed API enhancements.
Key* elektraKsPopAtCursor | ( | KeySet * | ks, |
cursor_t | pos | ||
) |
Pop key at given cursor position.
ks | the keyset to pop key from |
c | where to pop |
The internal cursor will be rewinded using ksRewind(). You can use ksGetCursor() and ksSetCursor() jump back to the previous position. e.g. to pop at current position within ksNext() loop:
0 | if ks is 0 |