2020-03-25 18:07:36 +00:00
|
|
|
#include "Core.hpp"
|
|
|
|
|
2020-07-30 18:06:23 +00:00
|
|
|
std::string ExceptionHandler::_creatureLibLastException = "";
|
2020-08-16 15:41:56 +00:00
|
|
|
std::string ExceptionHandler::_creatureLibLastExceptionStacktrace = "Unset";
|
2020-07-30 18:06:23 +00:00
|
|
|
|
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();
|
|
|
|
}
|