From 71a142f60dc6c6fa0567059616707a3551b8f7d0 Mon Sep 17 00:00:00 2001 From: "Paul W." Date: Fri, 8 Nov 2024 22:12:48 -0500 Subject: [PATCH] Change callback calling convention to C Signed-off-by: Paul W. --- bindings.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings.odin b/bindings.odin index ef57e1d..541995a 100644 --- a/bindings.odin +++ b/bindings.odin @@ -998,7 +998,7 @@ mutex :: struct {} backup :: 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 { u: struct #raw_union {}, // MemValue