| 1494 | |
| 1495 | |
| 1496 | void LuaDetail::jcontRemove(LuaTable const& table, LuaValue const& key) { |
| 1497 | if (auto mt = table.getMetatable()) { |
| 1498 | if (auto nils = mt->rawGet<Maybe<LuaTable>>("__nils")) |
| 1499 | nils->rawSet(key, LuaNil); |
| 1500 | } |
| 1501 | |
| 1502 | table.rawSet(key, LuaNil); |
| 1503 | } |
| 1504 | |
| 1505 | size_t LuaDetail::jcontSize(LuaTable const& table) { |
| 1506 | size_t elemCount = 0; |
nothing calls this directly
no test coverage detected