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…
Reference in New Issue