Change callback calling convention to C
Signed-off-by: Paul W. <lambdapaul@protonmail.com>
This commit is contained in:
parent
e5c1ddcfc3
commit
71a142f60d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user