MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / __string_hash_get_int

Function __string_hash_get_int

src/hx/Hash.cpp:813–822  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

811}
812
813int __string_hash_get_int(Dynamic inHash,String inKey)
814{
815 StringHashBase *hash = static_cast<StringHashBase *>(inHash.GetPtr());
816 if (!hash)
817 return null();
818
819 int result = 0;
820 hash->query(inKey,result);
821 return result;
822}
823
824
825Float __string_hash_get_float(Dynamic inHash,String inKey)

Callers 1

__string_hash_get_boolFunction · 0.85

Calls 3

GetPtrMethod · 0.80
queryMethod · 0.80
nullClass · 0.50

Tested by

no test coverage detected