kplayer-rust-wrap 1.1.1

libkplayer plugin wrap for rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub mod kplayer;

#[macro_export]
macro_rules! export {
    ($class_name: ident) => {
        #[no_mangle]
        pub extern "C" fn Initialization() -> i32 {
            kplayer::export_plugin(Box::new($class_name {}));
            0
        }
    };
}