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

Method EnsureArrayStorage

src/Array.cpp:1127–1147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1125}
1126
1127void VirtualArray_obj::EnsureArrayStorage(ArrayStore inStore)
1128{
1129 switch(inStore)
1130 {
1131 case arrayFixed:
1132 case arrayNull:
1133 // These should not happen
1134 break;
1135
1136 case arrayEmpty:
1137 EnsureBase();
1138 break;
1139
1140 case arrayBool: EnsureBoolStorage(); break;
1141 case arrayInt: EnsureIntStorage(); break;
1142 case arrayFloat: EnsureFloatStorage(); break;
1143 case arrayString: EnsureStringStorage(); break;
1144 case arrayInt64: EnsureInt64Storage(); break;
1145 case arrayObject: EnsureObjectStorage(); break;
1146 }
1147}
1148
1149void VirtualArray_obj::EnsureArrayStorage(VirtualArray inValue)
1150{

Callers

nothing calls this directly

Calls 6

EnsureBoolStorageFunction · 0.85
EnsureIntStorageFunction · 0.85
EnsureFloatStorageFunction · 0.85
EnsureStringStorageFunction · 0.85
EnsureInt64StorageFunction · 0.85
EnsureObjectStorageFunction · 0.85

Tested by

no test coverage detected