flatten 20260225
This commit is contained in:
16
tjp/core/log/demangle.cpp
Executable file
16
tjp/core/log/demangle.cpp
Executable file
@@ -0,0 +1,16 @@
|
||||
// License: Modified MIT (NON-AI)
|
||||
// See the LICENSE file in the root directory for license information.
|
||||
// Copyright 2025 Timothy Prepscius
|
||||
|
||||
#include <cxxabi.h>
|
||||
|
||||
namespace tjp::core {
|
||||
|
||||
char * demangle(const char *mangled)
|
||||
{
|
||||
int status;
|
||||
char * demangled = abi::__cxa_demangle(mangled,0,0,&status);
|
||||
return demangled;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user