| 115 | |
| 116 | |
| 117 | void __int_hash_set_float(HX_MAP_THIS_ARG,int inKey,Float inValue) |
| 118 | { |
| 119 | IntHashBase *hash = static_cast<IntHashBase *>(ioHash.GetPtr()); |
| 120 | if (!hash) |
| 121 | { |
| 122 | hash = new IntHashFloat(); |
| 123 | ioHash = hash; |
| 124 | HX_OBJ_WB_GET(owner,hash); |
| 125 | } |
| 126 | else if (hash->store==hashString || hash->store==hashInt64) |
| 127 | { |
| 128 | hash = hash->convertStore(hashObject); |
| 129 | ioHash = hash; |
| 130 | HX_OBJ_WB_GET(owner,hash); |
| 131 | } |
| 132 | else if (hash->store==hashInt) |
| 133 | { |
| 134 | hash = hash->convertStore(hashFloat); |
| 135 | ioHash = hash; |
| 136 | HX_OBJ_WB_GET(owner,hash); |
| 137 | } |
| 138 | |
| 139 | hash->set(inKey,inValue); |
| 140 | } |
| 141 | |
| 142 | |
| 143 |
nothing calls this directly
no test coverage detected