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

Function __object_hash_to_string

src/hx/Hash.cpp:1224–1234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1222}
1223
1224String __object_hash_to_string(Dynamic &ioHash)
1225{
1226 DynamicHashBase *hash = static_cast<DynamicHashBase *>(ioHash.GetPtr());
1227 if (hash)
1228 return hash->toString();
1229 #if (HXCPP_API_LEVEL >= 430)
1230 return HX_CSTRING("[]");
1231 #else
1232 return HX_CSTRING("{}");
1233 #endif
1234}
1235
1236void __object_hash_clear(Dynamic &ioHash)
1237{

Callers

nothing calls this directly

Calls 2

GetPtrMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected