glfw: update to zig 0.11.0-dev.811 (#640)
This commit is contained in:
parent
b1191cbeb5
commit
c9793a4666
3 changed files with 18 additions and 18 deletions
|
|
@ -459,7 +459,7 @@ pub inline fn setCallback(comptime callback: ?fn (monitor: Monitor, event: Event
|
|||
if (callback) |user_callback| {
|
||||
const CWrapper = struct {
|
||||
pub fn monitorCallbackWrapper(monitor: ?*c.GLFWmonitor, event: c_int) callconv(.C) void {
|
||||
@call(.{ .modifier = .always_inline }, user_callback, .{
|
||||
@call(.always_inline, user_callback, .{
|
||||
Monitor{ .handle = monitor.? },
|
||||
@intToEnum(Event, event),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue