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

@@ -103,7 +103,7 @@ void World::pair_lua_tables(const IdVector &basis, lua_State *master) {
}
// Keep track of which tables are already paired
std::vector<bool> paired;
eng::vector<bool> paired;
paired.assign(s_ntables + 1, false);
// This records the top of the stack.
@@ -185,7 +185,7 @@ int World::number_remaining_tables(const IdVector &basis, lua_State *master) {
LS.rawget(ntmap, LuaRegistry, "ntmap");
LS.rawget(tangibles, LuaRegistry, "tangibles");
int ntables = LS.rawlen(ntmap);
std::vector<bool> visited;
eng::vector<bool> visited;
visited.assign(ntables + 1, false);
int top = lua_gettop(L);