cxxabi.h 414 B

12345678910111213141516171819
  1. // libc++ is compiled with the abi of libstdc++ and doesn't come with a cxxabi.h
  2. // The symbols however are available and can be forwarded, as it's used by
  3. // googletest and boost.
  4. #ifdef __cplusplus
  5. namespace __cxxabiv1 {
  6. extern "C" {
  7. #endif
  8. char *__cxa_demangle(const char *, char *, size_t *, int *);
  9. #ifdef __cplusplus
  10. }
  11. } // namespace __cxxabiv1
  12. #endif
  13. namespace abi {
  14. using __cxxabiv1::__cxa_demangle;
  15. }