| 44 | } |
| 45 | |
| 46 | bool ScriptWriter::repeat(UInt64 reference) { |
| 47 | bool pushed(start()); |
| 48 | lua_rawgeti(_pState, LUA_REGISTRYINDEX,(int)reference); |
| 49 | if (lua_isnil(_pState, -1)) { |
| 50 | lua_pop(_pState, pushed ? 2 : 1); |
| 51 | return false; |
| 52 | } |
| 53 | end(); |
| 54 | return true; |
| 55 | } |
| 56 | |
| 57 | UInt64 ScriptWriter::writeDate(const Date& date) { |
| 58 | start(); |
nothing calls this directly
no outgoing calls
no test coverage detected