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

Method MakeObjectArray

src/Array.cpp:1201–1219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1199}
1200
1201void VirtualArray_obj::MakeObjectArray()
1202{
1203 if (store==arrayEmpty && base )
1204 {
1205 // Actually, ok already.
1206 }
1207 else if (!base)
1208 {
1209 base = new Array_obj<Dynamic>(0,0);
1210 HX_OBJ_WB_GET(this,base);
1211 }
1212 else
1213 {
1214 Array<Dynamic> result = Dynamic(base);
1215 base = result.mPtr;
1216 HX_OBJ_WB_GET(this,base);
1217 }
1218 store = arrayObject;
1219}
1220
1221
1222void VirtualArray_obj::MakeStringArray()

Callers

nothing calls this directly

Calls 1

DynamicClass · 0.50

Tested by

no test coverage detected