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

Method MakeInt64Array

src/Array.cpp:1183–1199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1181}
1182
1183void VirtualArray_obj::MakeInt64Array()
1184{
1185 if (store==arrayEmpty && base)
1186 {
1187 int len = base->length;
1188 base = new Array_obj< ::cpp::Int64>(len, len);
1189 }
1190 else if (!base)
1191 base = new Array_obj< ::cpp::Int64>(0, 0);
1192 else
1193 {
1194 Array< ::cpp::Int64> result = Dynamic(base);
1195 base = result.mPtr;
1196 }
1197 store = arrayInt64;
1198 HX_OBJ_WB_GET(this, base);
1199}
1200
1201void VirtualArray_obj::MakeObjectArray()
1202{

Callers

nothing calls this directly

Calls 1

DynamicClass · 0.50

Tested by

no test coverage detected