Change callback calling convention to C

Signed-off-by: Paul W. <lambdapaul@protonmail.com>
This commit is contained in:
Paul W. 2024-11-08 22:12:48 -05:00
parent e5c1ddcfc3
commit 71a142f60d

View File

@ -998,7 +998,7 @@ mutex :: struct {}
backup :: struct {} backup :: struct {}
index_info :: struct {} index_info :: struct {}
callback :: proc(db: rawptr, col: i32, vals: [^]cstring, cols: [^]cstring) -> Result callback :: proc "c" (db: rawptr, col: i32, vals: [^]cstring, cols: [^]cstring) -> Result
value :: struct { value :: struct {
u: struct #raw_union {}, // MemValue u: struct #raw_union {}, // MemValue