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

Function __int_hash_to_string

src/hx/Hash.cpp:278–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276
277
278String __int_hash_to_string(Dynamic &ioHash)
279{
280 IntHashBase *hash = static_cast<IntHashBase *>(ioHash.GetPtr());
281 if (hash)
282 return hash->toString();
283 #if (HXCPP_API_LEVEL >= 430)
284 return HX_CSTRING("[]");
285 #else
286 return HX_CSTRING("{}");
287 #endif
288}
289
290void __int_hash_clear(Dynamic &ioHash)
291{

Callers

nothing calls this directly

Calls 2

GetPtrMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected