aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/pkg/harfbuzz/c.zig
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/libghostty-vt/pkg/harfbuzz/c.zig')
-rw-r--r--vendor/libghostty-vt/pkg/harfbuzz/c.zig8
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/libghostty-vt/pkg/harfbuzz/c.zig b/vendor/libghostty-vt/pkg/harfbuzz/c.zig
new file mode 100644
index 00000000..49e87dce
--- /dev/null
+++ b/vendor/libghostty-vt/pkg/harfbuzz/c.zig
@@ -0,0 +1,8 @@
+const builtin = @import("builtin");
+const build_options = @import("build_options");
+
+pub const c = @cImport({
+ @cInclude("hb.h");
+ if (build_options.freetype) @cInclude("hb-ft.h");
+ if (build_options.coretext) @cInclude("hb-coretext.h");
+});