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

Function ScriptResolvePath

engine/gameobject/src/gameobject/gameobject_script.cpp:202–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200 }
201
202 static int ScriptResolvePath(lua_State* L)
203 {
204 const char* path = luaL_checkstring(L, 2);
205 dmScript::PushHash(L, dmHashString64(path));
206 return 1;
207 }
208
209 static int ScriptIsValid(lua_State* L)
210 {

Callers

nothing calls this directly

Calls 1

PushHashFunction · 0.85

Tested by

no test coverage detected