use gtk::gio; extern crate adw; extern crate libsecret; #[link(name = "audrey")] #[link(name = "gcrypt")] #[link(name = "json-glib-1.0")] #[link(name = "mpv")] #[link(name = "soup-3.0")] extern { fn c_main(argc: libc::c_int, argv: *mut *mut libc::c_char) -> libc::c_int; } fn main() { gio::resources_register_include!("audrey.gresource").expect("could not register resources"); unsafe { std::process::exit(c_main(0, std::ptr::null_mut())) } }