mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-24 20:56:08 +03:00
13 lines
390 B
Zig
13 lines
390 B
Zig
const c = @cImport({
|
|
@cInclude("gtk/gtk.h");
|
|
if (@import("build_options").libadwaita) @cInclude("libadwaita-1/adwaita.h");
|
|
});
|
|
|
|
pub usingnamespace c;
|
|
|
|
/// Compatibility with gobject < 2.74
|
|
pub usingnamespace if (@hasDecl(c, "G_CONNECT_DEFAULT")) struct {} else struct {
|
|
pub const G_CONNECT_DEFAULT = 0;
|
|
pub const G_APPLICATION_DEFAULT_FLAGS = c.G_APPLICATION_FLAGS_NONE;
|
|
};
|