CreatureLib/CInterface/Core.cpp

10 lines
397 B
C++

#include "Core.hpp"
std::string ExceptionHandler::_creatureLibLastException = "";
std::string ExceptionHandler::_creatureLibLastExceptionStacktrace = "Unset";
export_func const char* CreatureLib_C_GetLastException() { return ExceptionHandler::GetLastException(); }
export_func const char* CreatureLib_C_GetLastExceptionStacktrace() {
return ExceptionHandler::GetLastExceptionStacktrace();
}