memory related refactor

This commit is contained in:
MihailRis
2024-05-13 00:11:20 +03:00
parent 8054d4ba55
commit 017c8722ae
25 changed files with 336 additions and 320 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ static bool processCallback(
try {
return state->eval(*env, src, file) != 0;
} catch (lua::luaerror& err) {
std::cerr << err.what() << std::endl;
logger.error() << err.what();
return false;
}
}
+2 -2
View File
@@ -1,11 +1,11 @@
#ifndef LOGIC_SCRIPTING_SCRIPTING_FUNCTIONAL_HPP_
#define LOGIC_SCRIPTING_SCRIPTING_FUNCTIONAL_HPP_
#include <glm/glm.hpp>
#include <string>
#include "../../typedefs.hpp"
#include "../../delegates.hpp"
#include <string>
namespace scripting {
runnable create_runnable(
const scriptenv& env,