PkmnLibAI/CInterface/Core.cpp

7 lines
374 B
C++

#include "Core.hpp"
std::string ExceptionHandler::_pkmnLibAILastException = "";
std::string ExceptionHandler::_pkmnLibAILastExceptionStacktrace = "Unset";
export const char* pkmnlibai_C_GetLastException() { return ExceptionHandler::GetLastException(); }
export const char* pkmnlibai_C_GetLastExceptionStacktrace() { return ExceptionHandler::GetLastExceptionStacktrace(); }