MCPcopy Create free account
hub / github.com/defold/defold / Error

Method Error

engine/script/src/script.cpp:1621–1632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 4

luaL_whereFunction · 0.85
lua_pushvfstringFunction · 0.85
lua_concatFunction · 0.85
lua_errorFunction · 0.85

Tested by

no test coverage detected