[chore]: Bump modernc.org/sqlite from 1.26.0 to 1.27.0 (#2339)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2023-11-06 14:40:53 +00:00 committed by GitHub
commit 28f85db30a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 526 additions and 143 deletions

12
vendor/modernc.org/libc/mem.go generated vendored
View file

@ -86,6 +86,18 @@ func Xfree(t *TLS, p uintptr) {
allocator.UintptrFree(p)
}
func Xmalloc_usable_size(tls *TLS, p uintptr) (r types.Size_t) {
if p == 0 {
return 0
}
allocMu.Lock()
defer allocMu.Unlock()
return types.Size_t(memory.UintptrUsableSize(p))
}
func UsableSize(p uintptr) types.Size_t {
allocMu.Lock()