Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
#include "cxxaux.hh"
#include <cxxabi.h>
#include <unistd.h>
#include <fcntl.h>
#include <cstring>
#include <cassert>
Go to the source code of this file.
Namespaces | |
namespace | Ase |
The Anklang C++ API namespace. | |
Functions | |
const char * | Ase::string_demangle_cxx (const char *mangled_identifier) noexcept |
Demangle identifier via libcc. | |
std::string | Ase::backtrace_command () |
Find GDB and construct command line. | |
void | Ase::perror_die (const std::string &msg) noexcept __attribute__((__noreturn__)) |
Issue a warning about an assertion error. | |
void | Ase::assertion_fatal (const char *msg, const char *file, int line, const char *func) noexcept |
Print a debug message via assertion_failed() and abort the program. | |
void | Ase::assertion_failed (const char *msg, const char *file, int line, const char *func) noexcept |
Print instructive message, handle "breakpoint", "backtrace" and "fatal-warnings" in $ASE_DEBUG. | |
Variables | |
bool | Ase::assertion_failed_fatal |
Global flag to force aborting on assertion warnings. | |