mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
pkg/macos: more
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
const log = @import("os/log.zig");
|
||||
|
||||
pub const c = @import("os/c.zig");
|
||||
pub usingnamespace @import("os/log.zig");
|
||||
pub const Log = log.Log;
|
||||
pub const LogType = log.LogType;
|
||||
|
||||
test {
|
||||
@import("std").testing.refAllDecls(@This());
|
||||
|
@ -1,3 +1,3 @@
|
||||
pub usingnamespace @cImport({
|
||||
pub const c = @cImport({
|
||||
@cInclude("os/log.h");
|
||||
});
|
||||
|
@ -1,7 +1,7 @@
|
||||
const std = @import("std");
|
||||
const assert = std.debug.assert;
|
||||
const Allocator = std.mem.Allocator;
|
||||
const c = @import("c.zig");
|
||||
const c = @import("c.zig").c;
|
||||
|
||||
pub const Log = opaque {
|
||||
pub fn create(
|
||||
|
@ -1,5 +1,7 @@
|
||||
pub const c = @import("video/c.zig");
|
||||
pub usingnamespace @import("video/display_link.zig");
|
||||
const display_link = @import("video/display_link.zig");
|
||||
|
||||
pub const c = @import("video/c.zig").c;
|
||||
pub const DisplayLink = display_link.DisplayLink;
|
||||
|
||||
test {
|
||||
@import("std").testing.refAllDecls(@This());
|
||||
|
@ -1,3 +1,3 @@
|
||||
pub usingnamespace @cImport({
|
||||
pub const c = @cImport({
|
||||
@cInclude("CoreVideo/CoreVideo.h");
|
||||
});
|
||||
|
@ -1,7 +1,7 @@
|
||||
const std = @import("std");
|
||||
const assert = std.debug.assert;
|
||||
const Allocator = std.mem.Allocator;
|
||||
const c = @import("c.zig");
|
||||
const c = @import("c.zig").c;
|
||||
|
||||
pub const DisplayLink = opaque {
|
||||
pub const Error = error{
|
||||
|
Reference in New Issue
Block a user