pioneerspacesim/pioneer — pull request #2315 by laarmen (2013-05-26 12:00:44+00:00)
Title: Introduce a ScopedTable class to cleanup Lua tables at object destruction

In some cases, it is handier to automagically cleanup the stack when the
C++ wrapper is destroyed, for instance when operating on a LuaRef. To
have that behaviour, the LuaTable(LuaRef) constructor has been removed,
replaced by a ScopedTable(LuaRef) one.