gpu: eliminate objc/message.h @cImport

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-08-19 21:01:24 -07:00
parent 0e14764ab2
commit 80e127b5ae
2 changed files with 10 additions and 3 deletions

View file

@ -2,9 +2,7 @@ const std = @import("std");
const assert = std.debug.assert;
const glfw = @import("glfw");
const gpu = @import("gpu");
const objc = @cImport({
@cInclude("objc/message.h");
});
const objc = @import("objc_message.zig");
inline fn printUnhandledErrorCallback(_: void, typ: gpu.ErrorType, message: [*:0]const u8) void {
switch (typ) {