Blame view

src/helpers/Demangle.hh 686 Bytes
fbe3c2bb   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Demangle.hh
 *
 *  Created on: Nov 16, 2012
 *      Author: f.casimir
 */

#ifndef DEMANGLE_HH_
#define DEMANGLE_HH_

#include <typeinfo>

namespace AMDA {
namespace Helpers {

/**
  *  @brief Demangling routine.
  *  ABI-mandated entry point in the C++ runtime library for demangling.
  *
  *  @param __mangled_name A NUL-terminated character string
  *  containing the name to be demangled.
  *
  *  @return A pointer to the start of the NUL-terminated demangled
  *  name, or "" if the demangling fails. This is a static mémory, is non-re-entrant
  */
	extern const char* Demangle(const char* name);

} /* namespace Helpers */
} /* namespace AMDA */
#endif /* DEMANGLE_HH_ */