mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
pkg/harfbuzz: fix c.zig
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
const std = @import("std");
|
||||
const c = @import("c.zig");
|
||||
const c = @import("c.zig").c;
|
||||
const Error = @import("errors.zig").Error;
|
||||
|
||||
/// Data type holding the memory modes available to client programs.
|
||||
|
@ -1,5 +1,5 @@
|
||||
const std = @import("std");
|
||||
const c = @import("c.zig");
|
||||
const c = @import("c.zig").c;
|
||||
const common = @import("common.zig");
|
||||
const Error = @import("errors.zig").Error;
|
||||
const Direction = common.Direction;
|
||||
|
@ -1,6 +1,6 @@
|
||||
const builtin = @import("builtin");
|
||||
|
||||
pub usingnamespace @cImport({
|
||||
pub const c = @cImport({
|
||||
@cInclude("hb.h");
|
||||
@cInclude("hb-ft.h");
|
||||
if (builtin.os.tag == .macos) @cInclude("hb-coretext.h");
|
||||
|
@ -1,5 +1,5 @@
|
||||
const std = @import("std");
|
||||
const c = @import("c.zig");
|
||||
const c = @import("c.zig").c;
|
||||
|
||||
/// The direction of a text segment or buffer.
|
||||
///
|
||||
|
@ -1,6 +1,6 @@
|
||||
const macos = @import("macos");
|
||||
const std = @import("std");
|
||||
const c = @import("c.zig");
|
||||
const c = @import("c.zig").c;
|
||||
const Face = @import("face.zig").Face;
|
||||
const Font = @import("font.zig").Font;
|
||||
const Error = @import("errors.zig").Error;
|
||||
|
@ -1,5 +1,5 @@
|
||||
const std = @import("std");
|
||||
const c = @import("c.zig");
|
||||
const c = @import("c.zig").c;
|
||||
|
||||
/// A font face is an object that represents a single face from within a font family.
|
||||
///
|
||||
|
@ -1,5 +1,5 @@
|
||||
const std = @import("std");
|
||||
const c = @import("c.zig");
|
||||
const c = @import("c.zig").c;
|
||||
const Face = @import("face.zig").Face;
|
||||
const Error = @import("errors.zig").Error;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
const freetype = @import("freetype");
|
||||
const std = @import("std");
|
||||
const c = @import("c.zig");
|
||||
const c = @import("c.zig").c;
|
||||
const Face = @import("face.zig").Face;
|
||||
const Font = @import("font.zig").Font;
|
||||
const Error = @import("errors.zig").Error;
|
||||
|
@ -1,4 +1,4 @@
|
||||
pub const c = @import("c.zig");
|
||||
pub const c = @import("c.zig").c;
|
||||
pub usingnamespace @import("blob.zig");
|
||||
pub usingnamespace @import("buffer.zig");
|
||||
pub usingnamespace @import("common.zig");
|
||||
|
@ -1,5 +1,5 @@
|
||||
const std = @import("std");
|
||||
const c = @import("c.zig");
|
||||
const c = @import("c.zig").c;
|
||||
const Font = @import("font.zig").Font;
|
||||
const Buffer = @import("buffer.zig").Buffer;
|
||||
const Feature = @import("common.zig").Feature;
|
||||
|
@ -1,5 +1,5 @@
|
||||
const std = @import("std");
|
||||
const c = @import("c.zig");
|
||||
const c = @import("c.zig").c;
|
||||
|
||||
pub const Version = struct {
|
||||
major: u32,
|
||||
|
Reference in New Issue
Block a user