mirror of
https://github.com/boostorg/python.git
synced 2026-02-02 09:02:15 +00:00
Runtime detection of broken cxxabi::__cxa_demangle versions; based on code contributed by Ult Mundane
[SVN r32296]
This commit is contained in:
@@ -35,6 +35,13 @@ namespace boost { namespace python {
|
||||
# define BOOST_PYTHON_TYPE_ID_NAME
|
||||
# endif
|
||||
|
||||
#ifdef BOOST_PYTHON_HAVE_GCC_CP_DEMANGLE
|
||||
// Runtime detection of broken cxxabi::__cxa_demangle versions,
|
||||
// to avoid #ifdef clutter.
|
||||
bool cxxabi_cxa_demangle_is_broken();
|
||||
#define BOOST_PYTHON_HAVE_CXXABI_CXA_DEMANGLE_IS_BROKEN
|
||||
#endif
|
||||
|
||||
// type ids which represent the same information as std::type_info
|
||||
// (i.e. the top-level reference and cv-qualifiers are stripped), but
|
||||
// which works across shared libraries.
|
||||
|
||||
Reference in New Issue
Block a user