update zig-objc

This commit is contained in:
Mitchell Hashimoto
2023-11-14 12:28:36 -08:00
parent abe2400ed9
commit 67dce5ce0e
8 changed files with 14 additions and 14 deletions

View File

@@ -9,7 +9,7 @@ const log = std.log.scoped(.os);
pub fn clickInterval() ?u32 {
// On macOS, we can ask the system.
if (comptime builtin.target.isDarwin()) {
const NSEvent = objc.Class.getClass("NSEvent") orelse {
const NSEvent = objc.getClass("NSEvent") orelse {
log.err("NSEvent class not found. Can't get click interval.", .{});
return null;
};