Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ RunString
Function
RunString
engine/script/src/test/test_script.cpp:38–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
37
38
bool RunString(lua_State* L, const char* script)
39
{
40
if (luaL_dostring(L, script) != 0)
41
{
42
dmLogError(
"%s"
, lua_tolstring(L, -1, 0));
43
return false;
44
}
45
return true;
46
}
47
48
static ScriptTest* s_LogListenerContext = 0;
49
Callers
9
RunString
Method · 0.70
TEST_F
Function · 0.70
TEST_F
Function · 0.70
TEST_F
Function · 0.70
TEST_F
Function · 0.70
TEST_F
Function · 0.70
TEST_F
Function · 0.70
TEST_F
Function · 0.70
TEST_F
Function · 0.50
Calls
1
lua_tolstring
Function · 0.85
Tested by
no test coverage detected