PkmnLib/CInterface/Core.cpp

7 lines
376 B
C++
Raw Normal View History

#include "Core.hpp"
2020-07-30 18:06:41 +00:00
std::string ExceptionHandler::_pkmnLibLastException = "";
2021-01-22 13:11:03 +00:00
std::string ExceptionHandler::_pkmnLibLastExceptionStacktrace = "Unset";
2022-04-02 11:03:11 +00:00
export_func const char* PkmnLib_C_GetLastException() { return ExceptionHandler::GetLastException(); }
export_func const char* PkmnLib_C_GetLastExceptionStacktrace() { return ExceptionHandler::GetLastExceptionStacktrace(); }