gpu: eliminate objc/message.h @cImport
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
0e14764ab2
commit
80e127b5ae
2 changed files with 10 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue