Adds raise-lists to Iter callbacks.

This commit is contained in:
Ben 2024-05-22 09:29:58 +02:00
parent 06947b4b60
commit f0d18f6d35
No known key found for this signature in database
GPG Key ID: 541B9D8C9F1426A1
1 changed files with 2 additions and 2 deletions

View File

@ -76,8 +76,8 @@ type
LevelDbException* = object of CatchableError
IterNext* = proc(): (string, string) {.gcsafe, closure.}
IterDispose* = proc() {.gcsafe, closure.}
IterNext* = proc(): (string, string) {.gcsafe, closure, raises: [LevelDbException].}
IterDispose* = proc() {.gcsafe, closure, raises: [].}
LevelDbQueryIter* = ref object
finished*: bool
next*: IterNext