glfw: update to zig 0.11.0-dev.811 (#640)

This commit is contained in:
Keith Chambers 2022-12-15 18:47:19 -05:00 committed by GitHub
parent b1191cbeb5
commit c9793a4666
Failed to generate hash of commit
3 changed files with 18 additions and 18 deletions

View file

@ -377,7 +377,7 @@ pub inline fn setCallback(comptime callback: ?fn (joystick: Joystick, event: Eve
if (callback) |user_callback| {
const CWrapper = struct {
pub fn joystickCallbackWrapper(jid: c_int, event: c_int) callconv(.C) void {
@call(.{ .modifier = .always_inline }, user_callback, .{
@call(.always_inline, user_callback, .{
Joystick{ .jid = @intToEnum(Joystick.Id, jid) },
@intToEnum(Event, event),
});