| 24 | using namespace Mona; |
| 25 | |
| 26 | ScriptReader::ScriptReader(lua_State *pState, UInt32 count) : _pState(pState), _start(lua_gettop(pState)) { |
| 27 | if ((int)count > _start) |
| 28 | count = _start; |
| 29 | ++_start; |
| 30 | _start -= count; |
| 31 | _current = _start; |
| 32 | _end = _current + count; |
| 33 | } |
| 34 | |
| 35 | #if defined(_DEBUG) |
| 36 | UInt32 ScriptReader::read(DataWriter& writer, UInt32 count) { |
nothing calls this directly
no outgoing calls
no test coverage detected