cwdemangle/README.md

1.4 KiB

cwdemangle Build Status Latest Version Api Rustdoc Rust Version

A CodeWarrior C++ symbol demangler.

Usage

CLI:

cwdemangle 'BuildLight__9CGuiLightCFv'

Library:

use cwdemangle::{demangle, DemangleOptions};

if let Some(result) = demangle("BuildLight__9CGuiLightCFv", &DemangleOptions::default()) {
    println!("{}", result);
} else {
    eprintln!("Couldn't demangle symbol (not a C++ symbol?)");
}

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.