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

Function __string_hash_to_string

src/hx/Hash.cpp:890–900  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

888}
889
890String __string_hash_to_string(Dynamic &ioHash)
891{
892 StringHashBase *hash = static_cast<StringHashBase *>(ioHash.GetPtr());
893 if (hash)
894 return hash->toString();
895 #if (HXCPP_API_LEVEL >= 430)
896 return HX_CSTRING("[]");
897 #else
898 return HX_CSTRING("{}");
899 #endif
900}
901
902String __string_hash_to_string_raw(Dynamic &ioHash)
903{

Callers 1

toStringMethod · 0.85

Calls 2

GetPtrMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected