More work on moving engine into dlmalloc heap

This commit is contained in:
2022-02-25 19:57:23 -05:00
parent 08f6aa2092
commit ff932dba10
52 changed files with 351 additions and 484 deletions

View File

@@ -1,3 +1,5 @@
#include "two-mallocs.hpp"
#include "luastack.hpp"
#include "wrap-string.hpp"
#include "wrap-vector.hpp"
@@ -8,7 +10,7 @@
#include <iostream>
LuaConsole::LuaConsole() {
lua_state_ = luaL_newstate();
lua_state_ = LuaStack::newstate(lalloc_dlmalloc);
clear_raw_input();
}