aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
blob: 44af2fe659bbb4bcbaf618a4ea01260e860da92b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#[cxx::bridge]
mod ffi {
    unsafe extern "C++" {
        include!("shit-wx-sys/src/wx-sys.h");

        fn message_box();
    }
}

pub use ffi::*;

#[cfg(test)]
mod test {
    use super::*;

    #[test]
    fn test_message_box() {
        message_box();
    }
}