CreatureLib/CInterface/Core.cpp

10 lines
397 B
C++
Raw Permalink Normal View History

#include "Core.hpp"
std::string ExceptionHandler::_creatureLibLastException = "";
std::string ExceptionHandler::_creatureLibLastExceptionStacktrace = "Unset";
2022-04-02 10:33:26 +00:00
export_func const char* CreatureLib_C_GetLastException() { return ExceptionHandler::GetLastException(); }
export_func const char* CreatureLib_C_GetLastExceptionStacktrace() {
return ExceptionHandler::GetLastExceptionStacktrace();
}