From 9786b20c427573860594cdd647a07ac9ffa7e4c0 Mon Sep 17 00:00:00 2001 From: Ketan Reynolds Date: Tue, 28 Jan 2025 10:39:11 +0200 Subject: [PATCH] fix calling convention for error handler `.c` -> `.C` --- src/root.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/root.zig b/src/root.zig index 0b4befa..ad3f7d3 100644 --- a/src/root.zig +++ b/src/root.zig @@ -257,7 +257,7 @@ pub const ErrorData = extern struct { }; pub const ErrorHandler = extern struct { - error_handler_function: ?*const fn (ErrorData) callconv(.c) void = null, + error_handler_function: ?*const fn (ErrorData) callconv(.C) void = null, user_data: usize = 0, };