Migrated engine to using dlmalloc through eng::

This commit is contained in:
2022-02-24 02:17:41 -05:00
parent acc00289fb
commit f467944095
61 changed files with 631 additions and 590 deletions

View File

@@ -53,7 +53,7 @@ private:
}
void do_choose_command(const StringVec &cmd) {
std::string action = gui_.get_action(util::strtoint(cmd[1], -1));
eng::string action = gui_.get_action(util::strtoint(cmd[1], -1));
if (action == "") {
stdostream() << "Invalid menu item #" << std::endl;
return;
@@ -111,7 +111,7 @@ private:
{
world_->update_source(get_lua_source());
while (true) {
std::string line = get_stdio_channel()->in()->readline();
eng::string line = get_stdio_channel()->in()->readline();
if (line == "") break;
console_.add(line);
get_stdio_channel()->set_prompt(console_.get_prompt());