2023-11-03 03:20:35 -04:00

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;
};