21 lines
448 B
Rust
21 lines
448 B
Rust
|
extern crate adw;
|
||
|
extern crate gtk;
|
||
|
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 audrey_get_resource() -> *mut ();
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
unsafe {
|
||
|
audrey_get_resource();
|
||
|
std::process::exit(c_main(0, std::ptr::null_mut()))
|
||
|
}
|
||
|
}
|