kplayer-rust-wrap 1.0.0

libkplayer plugin wrap for rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[allow(dead_code)]
extern "C" {
    fn GetPluginVersion() -> i32;
}

#[allow(dead_code)]
pub fn get_plugin_version() -> String {
    super::string::DynamicString::new()
        .receive(GetPluginVersion())
        .nowrap();
}