Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ RunString
Function
RunString
engine/lua/src/test/test_lua_csharp.cpp:54–62 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
52
}
53
54
static bool RunString(lua_State* L, const char* script)
55
{
56
if (luaL_dostring(L, script) != 0)
57
{
58
dmLogError(
"%s"
, lua_tolstring(L, -1, 0));
59
return false;
60
}
61
return true;
62
}
63
64
TEST(CSharp, Lua)
65
{
Callers
1
TEST
Function · 0.70
Calls
1
lua_tolstring
Function · 0.85
Tested by
no test coverage detected