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

Function __object_hash_get_int

src/hx/Hash.cpp:1137–1147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1135
1136
1137int __object_hash_get_int(Dynamic inHash,Dynamic inKey)
1138{
1139 toRealObject(inKey);
1140 DynamicHashBase *hash = static_cast<DynamicHashBase *>(inHash.GetPtr());
1141 if (!hash)
1142 return null();
1143
1144 int result = 0;
1145 hash->query(inKey,result);
1146 return result;
1147}
1148
1149
1150Float __object_hash_get_float(Dynamic inHash,Dynamic inKey)

Callers 1

__object_hash_get_boolFunction · 0.85

Calls 3

GetPtrMethod · 0.80
queryMethod · 0.80
nullClass · 0.50

Tested by

no test coverage detected