MCPcopy 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
54static 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
64TEST(CSharp, Lua)
65{

Callers 1

TESTFunction · 0.70

Calls 1

lua_tolstringFunction · 0.85

Tested by

no test coverage detected