Stability | experimental |
---|---|
Portability | wherever gcc lives |
Safe Haskell | None |
Language | Haskell2010 |
This module provides bindings to the platform C++ ABI demangling routines
(where the platform is currently limited to gcc). Any string-like type
implementing CStringRepresentable
can be used, though strict bytestrings are
the most performant.
This module provides the pure-ish functions which hide the intrinsic IO
nature of doing FFI calls behind unsafePerformIO
. Demangling is
referentially transparent, though, so that should be fine.
- demangle :: CStringRepresentable s => s -> Maybe s
Documentation
demangle :: CStringRepresentable s => s -> Maybe s Source #
Try to demangle a mangled C++ name.