| 142 | |
| 143 | |
| 144 | void __int_hash_set_string(HX_MAP_THIS_ARG,int inKey, ::String inValue) |
| 145 | { |
| 146 | IntHashBase *hash = static_cast<IntHashBase *>(ioHash.GetPtr()); |
| 147 | if (!hash) |
| 148 | { |
| 149 | hash = new IntHashString(); |
| 150 | ioHash = hash; |
| 151 | HX_OBJ_WB_GET(owner,hash); |
| 152 | } |
| 153 | else if (hash->store==hashInt || hash->store==hashFloat || hash->store==hashInt64) |
| 154 | { |
| 155 | hash = hash->convertStore(hashObject); |
| 156 | ioHash = hash; |
| 157 | HX_OBJ_WB_GET(owner,hash); |
| 158 | } |
| 159 | |
| 160 | hash->set(inKey,inValue); |
| 161 | } |
| 162 | |
| 163 | void __int_hash_set_int64(HX_MAP_THIS_ARG, int inKey, cpp::Int64 inValue) |
| 164 | { |
nothing calls this directly
no test coverage detected