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

Method MakeBoolArray

src/Array.cpp:1241–1257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1239
1240
1241void VirtualArray_obj::MakeBoolArray()
1242{
1243 if (store==arrayEmpty && base )
1244 {
1245 int len = base->length;
1246 base = new Array_obj<bool>(len,len);
1247 }
1248 else if (!base)
1249 base = new Array_obj<bool>(0,0);
1250 else
1251 {
1252 Array<bool> result = Dynamic(base);
1253 base = result.mPtr;
1254 }
1255 store = arrayBool;
1256 HX_OBJ_WB_GET(this,base);
1257}
1258
1259
1260void VirtualArray_obj::MakeFloatArray()

Callers

nothing calls this directly

Calls 1

DynamicClass · 0.50

Tested by

no test coverage detected