| 1619 | } |
| 1620 | |
| 1621 | int LuaStackCheck::Error(const char* fmt, ... ) |
| 1622 | { |
| 1623 | Verify(0); |
| 1624 | va_list argp; |
| 1625 | va_start(argp, fmt); |
| 1626 | luaL_where(m_L, 1); |
| 1627 | lua_pushvfstring(m_L, fmt, argp); |
| 1628 | va_end(argp); |
| 1629 | lua_concat(m_L, 2); |
| 1630 | m_Diff = -0x800000; |
| 1631 | return lua_error(m_L); |
| 1632 | } |
| 1633 | |
| 1634 | void LuaStackCheck::Verify(int diff) |
| 1635 | { |
nothing calls this directly
no test coverage detected