fn cbindgen_write<S: Source>(s: &S) -> String {
    let mut buf = Vec::new();
    {
        let cfg = cbindgen::Config::default();
        let mut sw = SourceWriter::new(&mut buf, &cfg);
        s.write(&cfg, &mut sw);
    }
    String::from_utf8(buf).unwrap().replace("str", "char")
}
/// Convenience method to use cbindgen to convert types into C-compat types.
/// e.g. "input: u32" -> `cbindgen_write((input, u32))` might output `uint32 input`.
Convenience method to use cbindgen to convert types into C-compat types.
Convenience method to use cbindgen to convert types into C - compat types .
fn cbindgen_write<S: Source>(s: &S) -> String {
    let mut buf = Vec::new();
    {
        let cfg = cbindgen::Config::default();
        let mut sw = SourceWriter::new(&mut buf, &cfg);
        s.write(&cfg, &mut sw);
    }
    String::from_utf8(buf).unwrap().replace("str", "char")
}
fn cbindgen_write < S : Source > ( s : & S ) -> String { let mut buf = Vec :: new ( ) ; { let cfg = cbindgen :: Config :: default ( ) ; let mut sw = SourceWriter :: new ( & mut buf , & cfg ) ; s . write ( & cfg , & mut sw ) ; } String :: from_utf8 ( buf ) . unwrap ( ) . replace ( " " , " " ) }
Convenience method to use cbindgen to convert types into C-compat types.
Convenience method to use cbindgen to convert types into C - compat types .
s
&S
s
&S