From e011e342420fe1f1f5d2fee932447b194f989032 Mon Sep 17 00:00:00 2001 From: Tesseract22 Date: Sat, 9 Aug 2025 18:57:19 +0800 Subject: chore: update to zig 0.15 Everything other than loadextension works. zig 0.15 remove usingnamespac, so tha whole mechanism has to be reworked, and idk how --- examples/zigcrypto.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/zigcrypto.zig') diff --git a/examples/zigcrypto.zig b/examples/zigcrypto.zig index 05c44a5..9489df1 100644 --- a/examples/zigcrypto.zig +++ b/examples/zigcrypto.zig @@ -39,7 +39,7 @@ fn createAllFunctions(db: *sqlite.Db) !void { ); } -pub export fn sqlite3_zigcrypto_init(raw_db: *c.sqlite3, err_msg: [*c][*c]u8, api: *c.sqlite3_api_routines) callconv(.C) c_int { +pub export fn sqlite3_zigcrypto_init(raw_db: *c.sqlite3, err_msg: [*c][*c]u8, api: *c.sqlite3_api_routines) callconv(.c) c_int { _ = err_msg; c.sqlite3_api = api; -- cgit v1.2.3