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

Function CheckHash

engine/script/src/script_hash.cpp:287–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285 }
286
287 dmhash_t CheckHash(lua_State* L, int index)
288 {
289 return *(dmhash_t*)dmScript::CheckUserType(L, index, SCRIPT_HASH_TYPE_HASH, 0);
290 }
291
292 dmhash_t CheckHashOrString(lua_State* L, int index)
293 {

Callers 15

Script_GetFunction · 0.85
Script_SetFunction · 0.85
Script_AnimateFunction · 0.85
Script_CancelAnimationsFunction · 0.85
LuaToVarFunction · 0.85
TEST_FFunction · 0.85
URL_newFunction · 0.85
Msg_PostFunction · 0.85
ResolvePathFunction · 0.85
LuaValueToDDFFunction · 0.85
HashToHexFunction · 0.85

Calls 1

CheckUserTypeFunction · 0.85

Tested by 4

TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_PFunction · 0.68