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

Function __int_hash_get

src/hx/Hash.cpp:188–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188Dynamic __int_hash_get(Dynamic inHash,int inKey)
189{
190 IntHashBase *hash = static_cast<IntHashBase *>(inHash.GetPtr());
191 if (!hash)
192 return null();
193
194 Dynamic result = null();
195 hash->query(inKey,result);
196 return result;
197}
198
199int __int_hash_get_int(Dynamic inHash,int inKey)
200{

Callers

nothing calls this directly

Calls 3

GetPtrMethod · 0.80
queryMethod · 0.80
nullClass · 0.50

Tested by

no test coverage detected