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

Method MakeStringArray

src/Array.cpp:1222–1238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1220
1221
1222void VirtualArray_obj::MakeStringArray()
1223{
1224 if (store==arrayEmpty && base )
1225 {
1226 int len = base->length;
1227 base = new Array_obj<String>(len,len);
1228 }
1229 else if (!base)
1230 base = new Array_obj<String>(0,0);
1231 else
1232 {
1233 Array<String> result = Dynamic(base);
1234 base = result.mPtr;
1235 }
1236 store = arrayString;
1237 HX_OBJ_WB_GET(this,base);
1238}
1239
1240
1241void VirtualArray_obj::MakeBoolArray()

Callers

nothing calls this directly

Calls 1

DynamicClass · 0.50

Tested by

no test coverage detected