pg: hande C calls, move to .c.v files (#19739)

This commit is contained in:
JalonSolov 2023-11-03 14:43:44 -04:00 committed by GitHub
parent be89cbf26f
commit 24befa0ba6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 18 additions and 17 deletions

View file

@ -214,7 +214,7 @@ fn example_vfsfile_read(file &sqlite.Sqlite3_file, output voidptr, amount int, o
vfsfile.vfs_state.log << 'read file=${vfsfile.name}'
unsafe {
C.memset(output, 0, amount)
vmemset(output, 0, amount)
}
return sqlite.sqlite_ioerr_short_read