diff --git a/core/quanta/src/quanta.cpp b/core/quanta/src/quanta.cpp index 005ecb92..d752d2a4 100644 --- a/core/quanta/src/quanta.cpp +++ b/core/quanta/src/quanta.cpp @@ -328,16 +328,3 @@ void quanta_app::run() { }; logger::get_logger()->stop(); } - -bool quanta_app::step() { - auto quanta = m_lua.get("quanta"); - if (quanta.get_function("run")) { - quanta.call([&](std::string_view err) { - LOG_FATAL(fmt::format("quanta run err: {} ", err)); - }); - check_input(m_lua); - return true; - } - logger::get_logger()->stop(); - return false; -} \ No newline at end of file diff --git a/core/quanta/src/quanta.h b/core/quanta/src/quanta.h index 2f223d32..504dafff 100644 --- a/core/quanta/src/quanta.h +++ b/core/quanta/src/quanta.h @@ -11,7 +11,6 @@ class quanta_app final ~quanta_app(); void run(); - bool step(); bool initzip(const char* zfile); void setup(int argc, const char* argv[]); void load(int argc, const char* argv[]); @@ -19,7 +18,6 @@ class quanta_app final void set_env(std::string key, std::string value, int over = 0); luakit::lua_table init(); - luakit::kit_state* state() { return &m_lua; }; lua_State* L() { return m_lua.L(); }