mirror of
https://github.com/logos-storage/nim-leveldb.git
synced 2026-01-05 23:23:12 +00:00
Adds raise-lists to Iter callbacks.
This commit is contained in:
parent
06947b4b60
commit
f0d18f6d35
@ -76,8 +76,8 @@ type
|
|||||||
|
|
||||||
LevelDbException* = object of CatchableError
|
LevelDbException* = object of CatchableError
|
||||||
|
|
||||||
IterNext* = proc(): (string, string) {.gcsafe, closure.}
|
IterNext* = proc(): (string, string) {.gcsafe, closure, raises: [LevelDbException].}
|
||||||
IterDispose* = proc() {.gcsafe, closure.}
|
IterDispose* = proc() {.gcsafe, closure, raises: [].}
|
||||||
LevelDbQueryIter* = ref object
|
LevelDbQueryIter* = ref object
|
||||||
finished*: bool
|
finished*: bool
|
||||||
next*: IterNext
|
next*: IterNext
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user