Nim-1.6 fix (#27)

This commit is contained in:
Ștefan Talpalaru 2021-11-20 01:19:21 +01:00 committed by GitHub
parent 6aab1e0dd6
commit 6f55b371e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ proc shouldUseNativeLinking(): bool {.compileTime.} =
template rocksType(T) =
type T* = distinct pointer
proc isNil*(v: T): bool {.borrow.}
proc isNil*(v: T): bool {.borrow, gcsafe.}
rocksType rocksdb_t
rocksType rocksdb_backup_engine_t