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

Function SetScript

engine/gui/src/test/test_gui.cpp:253–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253static bool SetScript(dmGui::HScript script, const char* source)
254{
255 dmGui::Result r;
256 r = dmGui::SetScript(script, LuaSourceFromStr(source));
257 return dmGui::RESULT_OK == r;
258}
259
260TEST_F(dmGuiTest, Basic)
261{

Callers 3

TEST_FFunction · 0.70
InitializeScriptSceneFunction · 0.70
TEST_FFunction · 0.70

Calls 1

LuaSourceFromStrFunction · 0.70

Tested by

no test coverage detected