MCPcopy Create free account
hub / github.com/diasurgical/devilution / FetchHandle

Function FetchHandle

Source/mpqapi.cpp:404–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404int FetchHandle(const char *pszName)
405{
406 return mpqapi_get_hash_index(Hash(pszName, 0), Hash(pszName, 1), Hash(pszName, 2), 0);
407}
408
409int mpqapi_get_hash_index(short index, int hash_a, int hash_b, int locale)
410{

Callers 3

mpqapi_remove_hash_entryFunction · 0.85
mpqapi_renameFunction · 0.85
mpqapi_has_fileFunction · 0.85

Calls 2

mpqapi_get_hash_indexFunction · 0.85
HashFunction · 0.85

Tested by

no test coverage detected