| 1163 | } |
| 1164 | |
| 1165 | void VirtualArray_obj::MakeIntArray() |
| 1166 | { |
| 1167 | if (store==arrayEmpty && base ) |
| 1168 | { |
| 1169 | int len = base->length; |
| 1170 | base = new Array_obj<int>(len,len); |
| 1171 | } |
| 1172 | else if (!base) |
| 1173 | base = new Array_obj<int>(0,0); |
| 1174 | else |
| 1175 | { |
| 1176 | Array<int> result = Dynamic(base); |
| 1177 | base = result.mPtr; |
| 1178 | } |
| 1179 | store = arrayInt; |
| 1180 | HX_OBJ_WB_GET(this,base); |
| 1181 | } |
| 1182 | |
| 1183 | void VirtualArray_obj::MakeInt64Array() |
| 1184 | { |