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, };