fix calling convention for error handler
`.c` -> `.C`
This commit is contained in:
parent
aabbf2c66e
commit
9786b20c42
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue