Sha256: 10891bbfe65d1e03e5a34a02fa0acd0abe6286efe15d1237b130616f692caa7c
Contents?: true
Size: 310 Bytes
Versions: 4
Compression:
Stored size: 310 Bytes
Contents
use cpp_demangle::Symbol; pub fn main() -> Result<(), Box<dyn std::error::Error>> { let mangled = b"_ZN5space3fooEibc"; let sym = Symbol::new(&mangled[..])?; let demangled = sym.to_string(); println!("{}", demangled); assert_eq!(demangled, "space::foo(int, bool, char)"); Ok(()) }
Version data entries
4 entries across 4 versions & 1 rubygems